Skip to content

Commit

Permalink
Dial back the test extremeness
Browse files Browse the repository at this point in the history
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
  • Loading branch information
mxgrey committed May 5, 2022
1 parent 51dcda1 commit 0d299bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rmf_task/test/unit/test_Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ SCENARIO("Multi-threaded read/write with synced view")
}
}, all_seqs, all_text, sync, test_finished);

std::this_thread::sleep_for(std::chrono::seconds(5));
std::this_thread::sleep_for(std::chrono::seconds(1));
test_finished->store(true);

// Use this condition variable to wake up the consumer, in case it's waiting
Expand Down Expand Up @@ -228,7 +228,7 @@ SCENARIO("Multi-threaded read/write without syncing")
}
}, log, all_seqs, all_text, test_finished);

std::this_thread::sleep_for(std::chrono::seconds(5));
std::this_thread::sleep_for(std::chrono::seconds(1));
test_finished->store(true);

producer.join();
Expand Down

0 comments on commit 0d299bf

Please sign in to comment.