DBZ-2468 Fix test failure - PostgresConnectorIT#shouldExecuteOnConnectStatements

This commit is contained in:
Chris Cranford 2020-09-24 14:52:55 -04:00 committed by Gunnar Morling
parent c4d1772aee
commit bb0b3fd158

View File

@ -601,6 +601,7 @@ public void shouldExecuteOnConnectStatements() throws Exception {
.with(PostgresConnectorConfig.DROP_SLOT_ON_STOP, Boolean.FALSE);
start(PostgresConnector.class, configBuilder.build());
assertConnectorIsRunning();
waitForStreamingRunning();
SourceRecords actualRecords = consumeRecordsByTopic(6);
assertKey(actualRecords.allRecordsInOrder().get(0), "pk", 1);