DBZ-2410 Fix test.

This commit is contained in:
Bingqin Zhou 2020-08-14 11:07:46 -07:00 committed by Jiri Pechanec
parent c0d61f27fe
commit d540d6d761

View File

@ -126,9 +126,8 @@ public void testConfigs() {
config = buildTaskConfig(CassandraConnectorConfig.COMMIT_LOG_POST_PROCESSING_ENABLED.name(), "false");
assertEquals(false, config.postProcessEnabled());
boolean shouldReprocessErrorCommitLogs = true;
config = buildTaskConfig(CassandraConnectorConfig.COMMIT_LOG_ERROR_REPROCESSING_ENABLED.name(), shouldReprocessErrorCommitLogs);
assertEquals(shouldReprocessErrorCommitLogs, config.errorCommitLogReprocessEnabled());
config = buildTaskConfig(CassandraConnectorConfig.COMMIT_LOG_ERROR_REPROCESSING_ENABLED.name(), "true");
assertTrue(config.errorCommitLogReprocessEnabled());
String transferClazz = "io.debezium.connector.cassandra.BlackHoleCommitLogTransfer";
config = buildTaskConfig(CassandraConnectorConfig.COMMIT_LOG_TRANSFER_CLASS.name(), transferClazz);