summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests/workqueue_test.cpp
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-10-25 13:22:13 -0700
committerBrad Linden <brad@lindenlab.com>2023-10-25 16:12:13 -0700
commit673b3309dde153fdadf7559bd16a5bb6db4723a1 (patch)
tree726d5e38b016d1d5504c3024b0959cec00d6c9c1 /indra/llcommon/tests/workqueue_test.cpp
parent887226c7d2462306191126cc5bfc0de96e18ad42 (diff)
parente4d6a08941f9c4e81bda8ae14d481be5029353fd (diff)
Merge remote-tracking branch 'origin/main' into DRTVWR-559
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 41aa858084..df16f4a46e 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 = WorkSchedule::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]