Skip to content

Commit

Permalink
fix: race condition in log test for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Oct 21, 2023
1 parent 0ba3655 commit df6b541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pueue/tests/client/integration/follow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async fn fail_on_disappearing(#[case] read_local_logs: bool) -> Result<()> {
let shared = &daemon.settings.shared;

// Add a task echoes something and waits for a while
assert_success(add_task(shared, "echo test && sleep 10").await?);
assert_success(add_task(shared, "echo test && sleep 20").await?);
wait_for_task_condition(shared, 0, |task| task.is_running()).await?;

// Reset the daemon after 2 seconds. At this point, the client will already be following the
Expand Down

0 comments on commit df6b541

Please sign in to comment.