summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2020-04-03 10:54:37 -0400
committerNat Goodspeed <nat@lindenlab.com>2020-04-03 10:54:37 -0400
commitd979ba68ee91404d5d3037701e49eb26286109f5 (patch)
tree29def880aa39702f2133e915495f15e9dd676490
parentfde7dad001d588e972cd49f5c41c5014f86f646e (diff)
DRTVWR-476: Use a longer default timeout for Sync class.
The timeout is meant to prevent a deadlocked test program from hanging a build. It's not intended to ensure some sort of SLA for the operations under test. Empirically, using a longer timeout helps some test programs. The only downside of increasing the timeout is that if some test does hang, it takes longer to notice. But changes on the order of a few seconds are negligible.
-rw-r--r--indra/test/sync.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/test/sync.h b/indra/test/sync.h
index 0f0b6cece8..ca8b7262d6 100644
--- a/indra/test/sync.h
+++ b/indra/test/sync.h
@@ -37,7 +37,7 @@ class Sync
F32Milliseconds mTimeout;
public:
- Sync(F32Milliseconds timeout=F32Milliseconds(10.0f)):
+ Sync(F32Milliseconds timeout=F32Milliseconds(10000.0f)):
mTimeout(timeout)
{}