0
0
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:
Eliot Horowitz 2010-03-27 01:11:43 -04:00
parent f6f734e002
commit e79f4a9710

View File

@ -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 );
}
}
}