0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 09:06:21 +01:00

relax test

This commit is contained in:
Eliot Horowitz 2010-03-26 23:59:06 -04:00
parent c0f6cf1c90
commit 2618026380

View File

@ -202,14 +202,14 @@ namespace BasicTests {
ASSERT( t.millis() >= 1000 );
ASSERT( t.millis() <= 2000 );
int total = 1727;
int total = 1200;
int ms = 2;
t.reset();
for ( int i=0; i<(total/ms); i++ ){
sleepmillis( ms );
}
ASSERT( t.millis() >= 1000 );
ASSERT( t.millis() <= 2000 );
ASSERT( t.millis() <= 2500 );
}