mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-06 20:33:54 +00:00
increase wait time for MongoDB to show changes to other sessions
This commit is contained in:
1 parent
be3d1f2df7
commit
715065d381
1 file changed
+2
-2
+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);
|
||||
|
||||
Reference in new issue
Block a user