DBZ-2319 Fix test failure - PostgresConnectorIT#shouldOutputRecordsInCloudEventsFormat
This commit is contained in:
parent
5affa8cbab
commit
0e5122c69d
@ -1625,6 +1625,7 @@ public void shouldOutputRecordsInCloudEventsFormat() throws Exception {
|
||||
|
||||
start(PostgresConnector.class, configBuilder.build());
|
||||
assertConnectorIsRunning();
|
||||
waitForSnapshotToBeCompleted();
|
||||
|
||||
SourceRecords snapshotRecords = consumeRecordsByTopic(2);
|
||||
List<SourceRecord> snapshot = snapshotRecords.allRecordsInOrder();
|
||||
@ -1636,6 +1637,7 @@ public void shouldOutputRecordsInCloudEventsFormat() throws Exception {
|
||||
}
|
||||
|
||||
// insert some more records and test streaming
|
||||
waitForStreamingRunning();
|
||||
TestHelper.execute(INSERT_STMT);
|
||||
|
||||
Testing.Print.enable();
|
||||
|
Loading…
Reference in New Issue
Block a user