Skip to content

Commit

Permalink
DBZ-8461 Don't shut down engine which is already being shut down
Browse files Browse the repository at this point in the history
  • Loading branch information
vjuranek authored and jpechane committed Nov 28, 2024
1 parent 4f418cd commit cdb29d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2709,7 +2709,8 @@ public void stopInTheMiddleOfTxAndResume() throws Exception {
VerifyRecord.isValidInsert(record, PK_FIELD, i + 2);
}

stopConnector();
waitForEngineShutdown();
cleanupTestFwkState();

startConnector(Function.identity(), false);
consumer.expects(expectSecondRun);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,8 @@ public void updatePrimaryKeyTwiceWithRestartInMiddleOfTx() throws Exception {

final SourceRecords records1 = consumeRecordsByTopic(14);

stopConnector();
waitForEngineShutdown();
cleanupTestFwkState();

start(SqlServerConnector.class, config);
assertConnectorIsRunning();
Expand Down

0 comments on commit cdb29d3

Please sign in to comment.