public abstract class AbstractOplogTest extends AbstractTest
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
LOCAL_DATABASE |
protected static java.lang.String |
OPLOG_COLLECTION_NAME |
backend, clock, collection, db, serverAddress, syncClient, TEST_DATABASE_NAME| Constructor and Description |
|---|
AbstractOplogTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeEach() |
protected void |
clearOplog() |
protected void |
dropAllDatabases() |
protected com.mongodb.client.MongoCollection<org.bson.Document> |
getOplogCollection() |
void |
testChangeStreamDelete() |
void |
testChangeStreamInsertAndUpdateFullDocumentLookup() |
void |
testChangeStreamResumeAfter() |
void |
testChangeStreamResumeAfterTerminalEvent() |
void |
testChangeStreamStartAfter() |
void |
testChangeStreamStartAtOperationTime() |
void |
testChangeStreamUpdateDefault() |
void |
testListDatabaseNames() |
void |
testOplogInsertUpdateAndDelete() |
void |
testQueryOplogWhenOplogIsDisabled() |
void |
testSetOplogDeleteMany() |
void |
testSetOplogReplaceOneById() |
void |
testSetOplogUpdateMany() |
void |
testSetOplogUpdateOneById() |
void |
testSetOplogUpdateOneByIdMultipleFields() |
assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, createBackend, killCursors, listDatabaseNames, restart, setUp, setUpBackend, tearDownprotected static final java.lang.String LOCAL_DATABASE
protected static final java.lang.String OPLOG_COLLECTION_NAME
@BeforeEach public void beforeEach()
protected void dropAllDatabases()
dropAllDatabases in class AbstractTestprotected void clearOplog()
protected com.mongodb.client.MongoCollection<org.bson.Document> getOplogCollection()
@Test
public void testListDatabaseNames()
throws java.lang.Exception
java.lang.Exception@Test public void testOplogInsertUpdateAndDelete()
@Test
public void testQueryOplogWhenOplogIsDisabled()
throws java.lang.Exception
java.lang.Exception@Test @Disabled(value="This test represents a missing feature") public void testSetOplogReplaceOneById()
@Test public void testSetOplogUpdateOneById()
@Test @Disabled(value="This test represents a missing feature") public void testSetOplogUpdateOneByIdMultipleFields()
@Test public void testSetOplogUpdateMany()
@Test public void testSetOplogDeleteMany()
@Test public void testChangeStreamInsertAndUpdateFullDocumentLookup()
@Test public void testChangeStreamUpdateDefault()
@Test public void testChangeStreamDelete()
@Test public void testChangeStreamStartAfter()
@Test public void testChangeStreamResumeAfter()
@Test public void testChangeStreamResumeAfterTerminalEvent()
@Test public void testChangeStreamStartAtOperationTime()