We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c22fa8f commit a4dea64Copy full SHA for a4dea64
src/test/java/test/elasticsearch/plugin/river/mongodb/simple/RiverMongoDropCollectionTest.java
@@ -103,8 +103,11 @@ public void testDropCollection() throws Throwable {
103
.prepareTypesExists(getIndex())
104
.setTypes(getDatabase()).execute().actionGet()
105
.isExists(), equalTo(true));
106
+ String collectionName = mongoCollection.getName();
107
mongoCollection.drop();
108
Thread.sleep(wait);
109
+ assertThat(mongoDB.collectionExists(collectionName), equalTo(false));
110
+ Thread.sleep(wait);
111
refreshIndex();
112
assertThat(
113
getNode().client().admin().indices()
0 commit comments