Skip to content

Commit

Permalink
OAK-9757 : removed un-necessary junit
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh Kumar committed May 23, 2022
1 parent e5074e3 commit bd599db
Showing 1 changed file with 0 additions and 14 deletions.
Expand Up @@ -20,7 +20,6 @@
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;

import java.util.ArrayList;
import java.util.List;
Expand Down Expand Up @@ -56,9 +55,6 @@ public class MongoDocumentStoreTest {
@Rule
public MongoConnectionFactory connectionFactory = new MongoConnectionFactory();

@Rule
public DocumentMKBuilderProvider builderProvider = new DocumentMKBuilderProvider();

// private static final boolean MONGO_DB = true;
// private static final int NODE_COUNT = 2000;

Expand Down Expand Up @@ -245,16 +241,6 @@ public void queryWithLimit() throws Exception {
store.dispose();
}

@Test(expected = DocumentStoreException.class)
public void queryWithNodeNameTooLong() {
DocumentStore docStore = openDocumentStore();
DocumentNodeStore store = builderProvider.newBuilder().setDocumentStore(docStore).setAsyncDelay(0).getNodeStore();
Revision rev = Revision.newRevision(0);
DocumentNodeState n = new DocumentNodeState(store, Path.fromString(DocumentMK.LONG_PATH), new RevisionVector(rev));
n.asOperation(rev);
fail("should not reach this point");
}

@Test
@Ignore
public void batchInsert() throws Exception {
Expand Down

0 comments on commit bd599db

Please sign in to comment.