mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
debugging for win
This commit is contained in:
parent
f6f734e002
commit
e79f4a9710
@ -208,8 +208,14 @@ namespace BasicTests {
|
||||
for ( int i=0; i<(total/ms); i++ ){
|
||||
sleepmillis( ms );
|
||||
}
|
||||
ASSERT( t.millis() >= 1000 );
|
||||
ASSERT( t.millis() <= 2500 );
|
||||
{
|
||||
int x = t.millis();
|
||||
if ( x < 1000 || x > 2500 ){
|
||||
cout << "sleeptest x: " << x << endl;
|
||||
ASSERT( x >= 1000 );
|
||||
ASSERT( x <= 2500 );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user