From c539fb7e9afd7c10688d7297563d92659b6b1a74 Mon Sep 17 00:00:00 2001 From: Neil Twigg Date: Tue, 5 Sep 2023 15:11:21 +0100 Subject: [PATCH] De-flake `TestJetStreamClusterConsumerMaxDeliveryNumAckPendingBug` by ignoring `PushBound` Signed-off-by: Neil Twigg --- server/jetstream_cluster_3_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/jetstream_cluster_3_test.go b/server/jetstream_cluster_3_test.go index c5879f5b..5d559fac 100644 --- a/server/jetstream_cluster_3_test.go +++ b/server/jetstream_cluster_3_test.go @@ -5403,8 +5403,8 @@ func TestJetStreamClusterConsumerMaxDeliveryNumAckPendingBug(t *testing.T) { // Created can skew a small bit due to server restart, this is expected. now := time.Now() cia.Created, cib.Created = now, now - // might not be push bound yet. - cib.PushBound = cia.PushBound + // Clear any disagreement on push bound. + cia.PushBound, cib.PushBound = false, false checkConsumerInfo(cia, cib) }