increase wait time for MongoDB to show changes to other sessions

This commit is contained in:
Axel Uhl committed 2011-06-11 16:41:04 +02:00
1 parent be3d1f2df7
commit 715065d381
1 file changed
+2 -2
@@ -60,7 +60,7 @@ public class TestStoringAndRetrievingWindData implements MongoDBTest {
}
{
Thread.sleep(500); // wait until MongoDB has recorded the change and made it visible
Thread.sleep(1000); // wait until MongoDB has recorded the change and made it visible
Mongo mongo = new Mongo();
assertNotNull(mongo);
DB db = mongo.getDB(WIND_TEST_DB);
@@ -85,7 +85,7 @@ public class TestStoringAndRetrievingWindData implements MongoDBTest {
}
{
Thread.sleep(500); // wait until MongoDB has recorded the change and made it visible
Thread.sleep(1000); // wait until MongoDB has recorded the change and made it visible
Mongo mongo = new Mongo();
assertNotNull(mongo);
DB db = mongo.getDB(WIND_TEST_DB);