Class KeepCaptureModeAfterRestartIT

All Implemented Interfaces:
Testing

public class KeepCaptureModeAfterRestartIT extends AbstractMongoConnectorIT
Integration test that verifies that if the capture mode is reconfigured it stays the same as the one stored in offsets.
Author:
Jiri Pechanec
  • Field Details

    • rule

      public final org.junit.rules.TestRule rule
  • Constructor Details

    • KeepCaptureModeAfterRestartIT

      public KeepCaptureModeAfterRestartIT()
  • Method Details

    • changeStreamsToOplog

      public void changeStreamsToOplog() throws Exception
      Throws:
      Exception
    • oplogToChangeStreams

      public void oplogToChangeStreams() throws Exception
      Throws:
      Exception
    • testSwitch

      public void testSwitch(io.debezium.connector.mongodb.MongoDbConnectorConfig.CaptureMode from, io.debezium.connector.mongodb.MongoDbConnectorConfig.CaptureMode to) throws InterruptedException
      Throws:
      InterruptedException