usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdun...@apache.org
Subject usergrid git commit: Give entity creation time to finish during collection delete test.
Date Tue, 29 Aug 2017 02:29:46 GMT
Repository: usergrid
Updated Branches:
  refs/heads/master 8e9eff8d9 -> 3d3ba4906


Give entity creation time to finish during collection delete test.


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/3d3ba490
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/3d3ba490
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/3d3ba490

Branch: refs/heads/master
Commit: 3d3ba49065018a74a51709ed23bb777826b21f78
Parents: 8e9eff8
Author: Mike Dunker <mdunker@google.com>
Authored: Mon Aug 28 19:29:06 2017 -0700
Committer: Mike Dunker <mdunker@google.com>
Committed: Mon Aug 28 19:29:06 2017 -0700

----------------------------------------------------------------------
 .../org/apache/usergrid/persistence/CollectionDeleteTest.java     | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/3d3ba490/stack/core/src/test/java/org/apache/usergrid/persistence/CollectionDeleteTest.java
----------------------------------------------------------------------
diff --git a/stack/core/src/test/java/org/apache/usergrid/persistence/CollectionDeleteTest.java
b/stack/core/src/test/java/org/apache/usergrid/persistence/CollectionDeleteTest.java
index ddf2c68..d062ef4 100644
--- a/stack/core/src/test/java/org/apache/usergrid/persistence/CollectionDeleteTest.java
+++ b/stack/core/src/test/java/org/apache/usergrid/persistence/CollectionDeleteTest.java
@@ -111,6 +111,9 @@ public class CollectionDeleteTest extends AbstractCoreIT {
         }
 
         logger.info("Created {} entities", ENTITIES_TO_DELETE);
+
+        app.waitForQueueDrainAndRefreshIndex(10000);
+
         long timeFirstPutDone = System.currentTimeMillis();
         logger.info("timeFirstPutDone={}", timeFirstPutDone);
 


Mime
View raw message