Package io.debezium.connector.common
Class BaseSourceTaskTest
java.lang.Object
io.debezium.connector.common.BaseSourceTaskTest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidpollAndIgnoreRetryException(io.debezium.connector.common.BaseSourceTask<io.debezium.pipeline.spi.Partition, io.debezium.pipeline.spi.OffsetContext> baseSourceTask) voidsetup()private static voidsleep(long millis) voidvoidvoidvoidvoid
-
Field Details
-
baseSourceTask
-
-
Constructor Details
-
BaseSourceTaskTest
public BaseSourceTaskTest()
-
-
Method Details
-
setup
public void setup() -
verifyTaskStartsAndStops
- Throws:
InterruptedException
-
verifyStartAndStopWithoutPolling
public void verifyStartAndStopWithoutPolling() -
verifyTaskCanBeStartedAfterStopped
- Throws:
InterruptedException
-
verifyTaskRestartsSuccessfully
- Throws:
InterruptedException
-
verifyOutOfOrderPollDoesNotStartTask
- Throws:
InterruptedException
-
pollAndIgnoreRetryException
private static void pollAndIgnoreRetryException(io.debezium.connector.common.BaseSourceTask<io.debezium.pipeline.spi.Partition, io.debezium.pipeline.spi.OffsetContext> baseSourceTask) throws InterruptedException- Throws:
InterruptedException
-
sleep
private static void sleep(long millis)
-