DBZ-777 Fix more timing issues with heartbeats

This commit is contained in:
Chris Cranford 2019-08-20 11:03:33 -04:00 committed by Gunnar Morling
parent dd94857d92
commit c6f6020da5

View File

@ -993,7 +993,7 @@ public void shouldReceiveHeartbeatAlsoWhenChangingNonWhitelistedTable() throws E
"INSERT INTO s1.b (bb) VALUES (22);"; "INSERT INTO s1.b (bb) VALUES (22);";
// streaming from database is non-blocking so we should receive many heartbeats // streaming from database is non-blocking so we should receive many heartbeats
final int expectedAtMostStartHeartbeats = 3; final int expectedAtMostStartHeartbeats = 10;
final int expectedHeartbeats = 5; final int expectedHeartbeats = 5;
// heartbeat for unfiltered table, data change, heartbeats // heartbeat for unfiltered table, data change, heartbeats
consumer = testConsumer(expectedAtMostStartHeartbeats + 1 + expectedHeartbeats); consumer = testConsumer(expectedAtMostStartHeartbeats + 1 + expectedHeartbeats);