summaryrefslogtreecommitdiff
path: root/indra/newview/build_win32_appConfig.py
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-10-31 12:03:03 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-10-31 12:03:03 -0400
commit6fb9a4640bad7bc88a52014ce23f7f8ad4a39c23 (patch)
treec39c9b4257cb6ef046836775fd64b9865c0e3af6 /indra/newview/build_win32_appConfig.py
parentf71662225eadf1589f5331e763e02e0bb1b72137 (diff)
DRTVWR-588: Try to make threadsafequeue timing more robust.
The test was coded to push (what's intended to be) the third entry with timestamp (now + 200ms), then (what's intended to be) the second entry with timestamp (now + 100ms). The trouble is that it was re-querying "now" each time. On a slow CI host, the clock might have advanced by more than 100ms between the first push and the second -- meaning that the second push would actually have a _later_ timestamp, and thus, even with the queue sorting properly, fail the test's order validation. Capture the timestamp once, then add both time deltas to the same time point to get the relative order right regardless of elapsed real time.
Diffstat (limited to 'indra/newview/build_win32_appConfig.py')
0 files changed, 0 insertions, 0 deletions