DBZ-777 Fix more timing issues with heartbeats
This commit is contained in:
parent
dd94857d92
commit
c6f6020da5
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user