DBZ-1764 Reorg test code for stabilization

This commit is contained in:
Jiri Pechanec 2020-02-12 15:11:22 +01:00 committed by Gunnar Morling
parent 92fa6039ab
commit c512929097

View File

@ -101,15 +101,15 @@ public void shouldProcessFromStreaming() throws Exception {
Testing.Print.enable();
TestHelper.enableTableCdc(connection, "t1");
waitForEnabledCdc(connection, "t1");
connection.execute("INSERT INTO t1 VALUES (1,10);");
TestHelper.enableTableCdc(connection, "t2");
waitForEnabledCdc(connection, "t2");
connection.execute("INSERT INTO t2 VALUES (2,20);");
TestHelper.enableTableCdc(connection, "t3");
waitForEnabledCdc(connection, "t1");
waitForEnabledCdc(connection, "t2");
waitForEnabledCdc(connection, "t3");
connection.execute("INSERT INTO t1 VALUES (1,10);");
connection.execute("INSERT INTO t2 VALUES (2,20);");
connection.execute("INSERT INTO t3 VALUES (3,30);");
final int expectedRecordsCount = 1 + 1 + 1;