DBZ-8128 Don't stop engine twice

This commit is contained in:
Vojtech Juranek 2024-08-08 13:56:26 +02:00 committed by Jiri Pechanec
parent d02d129404
commit 4d27337ab8

View File

@ -239,8 +239,6 @@ public void shouldFailedConvertedValueIsNullWithSkipMode() throws Exception {
SourceRecord tombstoneEvent = recordsForTopic.get(3);
assertTombstone(tombstoneEvent);
stopConnector();
}
@Test
@ -268,7 +266,7 @@ public void shouldFailConversionNotNullTimeTypeWithConnectModeWhenWarnMode() thr
}
waitForConnectorShutdown(getConnectorName(), DATABASE.getServerName());
stopConnector();
waitForEngineShutdown();
final Throwable e = exception.get();
if (e == null) {
@ -301,7 +299,7 @@ public void shouldFailConversionTimeTypeWithConnectModeWhenFailMode() throws Exc
}
waitForConnectorShutdown(getConnectorName(), DATABASE.getServerName());
stopConnector();
waitForEngineShutdown();
final Throwable e = exception.get();
if (e == null) {