Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
prevent test failures by raising epsilon value for SleepBackoff test
Browse files Browse the repository at this point in the history
  • Loading branch information
milkie committed Nov 9, 2012
1 parent f96289d commit 105f52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mongo/dbtests/basictests.cpp
Expand Up @@ -267,7 +267,7 @@ namespace BasicTests {

int maxSleepTimeMillis = 1000;
int lastSleepTimeMillis = -1;
int epsMillis = 50; // Allowable inprecision for timing
int epsMillis = 100; // Allowable inprecision for timing

Backoff backoff( maxSleepTimeMillis, maxSleepTimeMillis * 2 );

Expand Down

0 comments on commit 105f52b

Please sign in to comment.