DBZ-2495 Making test slightly more stable
This commit is contained in:
parent
6b5a3100e9
commit
b0a4a8b5ba
@ -1428,6 +1428,7 @@ public void whenCaptureInstanceExcludesColumnsAndColumnsRenamedExpectNoErrors()
|
||||
Arrays.asList("id", "name"));
|
||||
|
||||
final Configuration config = TestHelper.defaultConfig()
|
||||
.with(RelationalDatabaseConnectorConfig.TABLE_INCLUDE_LIST, ".*excluded_column_table_a")
|
||||
.build();
|
||||
|
||||
start(SqlServerConnector.class, config);
|
||||
@ -1443,7 +1444,7 @@ public void whenCaptureInstanceExcludesColumnsAndColumnsRenamedExpectNoErrors()
|
||||
|
||||
connection.execute("INSERT INTO excluded_column_table_a VALUES(11, 'some_name', 120)");
|
||||
|
||||
final SourceRecords records = consumeRecordsByTopic(3);
|
||||
final SourceRecords records = consumeRecordsByTopic(2);
|
||||
final List<SourceRecord> tableA = records.recordsForTopic("server1.dbo.excluded_column_table_a");
|
||||
|
||||
Schema expectedSchema1 = SchemaBuilder.struct()
|
||||
|
Loading…
Reference in New Issue
Block a user