Skip to content

Commit

Permalink
Try increasing the timeout before giving up on loading a file
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Sep 25, 2024
1 parent c89d7fd commit c14ca29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/miral/config_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PendingLoad
{
std::unique_lock lock{mutex};

if (!cv.wait_for(lock, std::chrono::milliseconds{10}, [this] { return !pending_loads; }))
if (!cv.wait_for(lock, std::chrono::milliseconds{100}, [this] { return !pending_loads; }))
{
std::cerr << "wait_for_load() timed out" << std::endl;
}
Expand Down

0 comments on commit c14ca29

Please sign in to comment.