Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
wenym1 committed Nov 18, 2024
1 parent b0d719f commit 1411059
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/tests/simulation/tests/integration_tests/sink/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async fn basic_test_inner(is_decouple: bool) -> Result<()> {
session.run(CREATE_SINK).await?;

if test_sink.parallelism_counter.load(Relaxed) != 6 {
return Err(anyhow!(
return Err(anyhow::anyhow!(
"incorrect initial parallelism: {} ",
test_sink.parallelism_counter.load(Relaxed)
));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async fn test_sink_decouple_err_isolation() -> Result<()> {
session.run(CREATE_SINK).await?;

if test_sink.parallelism_counter.load(Relaxed) != 6 {
return Err(anyhow!(
return Err(anyhow::anyhow!(
"incorrect initial parallelism: {} ",
test_sink.parallelism_counter.load(Relaxed)
));
Expand Down Expand Up @@ -89,7 +89,7 @@ async fn test_sink_error_event_logs() -> Result<()> {
session.run(CREATE_SINK).await?;

if test_sink.parallelism_counter.load(Relaxed) != 6 {
return Err(anyhow!(
return Err(anyhow::anyhow!(
"incorrect initial parallelism: {} ",
test_sink.parallelism_counter.load(Relaxed)
));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async fn recovery_test_inner(is_decouple: bool) -> Result<()> {
session.run(CREATE_SOURCE).await?;
session.run(CREATE_SINK).await?;
if test_sink.parallelism_counter.load(Relaxed) != 6 {
return Err(anyhow!(
return Err(anyhow::anyhow!(
"incorrect initial parallelism: {} ",
test_sink.parallelism_counter.load(Relaxed)
));
Expand Down
2 changes: 1 addition & 1 deletion src/tests/simulation/tests/integration_tests/sink/scale.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async fn scale_test_inner(is_decouple: bool) -> Result<()> {
session.run(CREATE_SINK).await?;

if test_sink.parallelism_counter.load(Relaxed) != 6 {
return Err(anyhow!(
return Err(anyhow::anyhow!(
"incorrect initial parallelism: {} ",
test_sink.parallelism_counter.load(Relaxed)
));
Expand Down

0 comments on commit 1411059

Please sign in to comment.