mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
relax test
This commit is contained in:
parent
c0f6cf1c90
commit
2618026380
@ -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 );
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user