DBZ-8128 Don't stop engine twice
This commit is contained in:
parent
d02d129404
commit
4d27337ab8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user