Skip to content

Commit

Permalink
test: more expressive message
Browse files Browse the repository at this point in the history
  • Loading branch information
SoloJacobs committed Nov 11, 2024
1 parent 741b468 commit 39ddb18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_ht_import_scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async fn run_scheduler(
if let Err(e) = remove_file(&run_flag_path) {
eprintln!("Removing run file failed: {e}");
}
bail!(format!("No plan result files appeared with {n_seconds_run_max} seconds"))
bail!(format!("Not all plan result files appeared within {n_seconds_run_max} seconds"))
},
};
remove_file(&run_flag_path)?;
Expand Down
2 changes: 1 addition & 1 deletion tests/test_scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ async fn run_scheduler(
bail!("Scheduler terminated unexpectedly")
},
_ = sleep(Duration::from_secs(n_seconds_run_max)) => {
bail!(format!("No plan result files appeared with {n_seconds_run_max} seconds"))
bail!(format!("Not all plan result files appeared within {n_seconds_run_max} seconds"))
},
};
remove_file(&run_flag_path)?;
Expand Down

0 comments on commit 39ddb18

Please sign in to comment.