summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests/workqueue_test.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2023-10-25 21:28:26 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2023-10-25 21:28:26 +0300
commit4c6ae49c88f58d04ae89ffb444954e12f60e0d52 (patch)
treeacb8ab3be3052138ea2186d497b0991604ce068e /indra/llcommon/tests/workqueue_test.cpp
parenta97d50548090f181f8156ab41a5e03b3e383c1c8 (diff)
parent2e8e96cfbcb383a667d1b938f364f0bbafcad5b4 (diff)
Merge branch 'main' into DRTVWR-587-maint-V
# Conflicts: # autobuild.xml # indra/llcommon/tests/llleap_test.cpp # indra/newview/viewer_manifest.py
Diffstat (limited to 'indra/llcommon/tests/workqueue_test.cpp')
-rw-r--r--indra/llcommon/tests/workqueue_test.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcommon/tests/workqueue_test.cpp b/indra/llcommon/tests/workqueue_test.cpp
index 1d73f7aa0d..7655a7aa1f 100644
--- a/indra/llcommon/tests/workqueue_test.cpp
+++ b/indra/llcommon/tests/workqueue_test.cpp
@@ -83,7 +83,11 @@ namespace tut
// signal the work item that it can quit; consider LLOneShotCond.
LLCond<Shared> data;
auto start = WorkQueue::TimePoint::clock::now();
- auto interval = 100ms;
+ // 2s seems like a long time to wait, since it directly impacts the
+ // duration of this test program. Unfortunately GitHub's Mac runners
+ // are pretty wimpy, and we're getting spurious "too late" errors just
+ // because the thread doesn't wake up as soon as we want.
+ auto interval = 2s;
queue.postEvery(
interval,
[&data, count = 0]