Removed unnecessary killAllSessions and drop from v1 CRUD tests
* The spec test README says nothing about killAllSessions.  Not sure
why it was there at all
* The drop is unnecessary because the previous call to the create collection
helper already drops the collection before creating it
@@ -90,7 +90,6 @@ public abstract class AbstractCrudTest {
collectionHelper = new CollectionHelper<>(new DocumentCodec(), new MongoNamespace(databaseName, collectionName));
- collectionHelper.killAllSessions();
collectionHelper.create(collectionName, new CreateCollectionOptions(), WriteConcern.ACKNOWLEDGED);
createMongoClient(commandListener);
@@ -104,7 +103,6 @@ public abstract class AbstractCrudTest {
documents.add(document.asDocument());
}
- collectionHelper.drop();
if (documents.size() > 0) {
collectionHelper.insertDocuments(documents, WriteConcern.MAJORITY);
}
