From 59e2107435fdc59dcfda42c8f1bfd1621b64eebf Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Thu, 27 Apr 2023 07:19:56 -0700 Subject: [PATCH] Fix test flapper Signed-off-by: Derek Collison --- test/cluster_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/cluster_test.go b/test/cluster_test.go index f8354d46..1290f1d7 100644 --- a/test/cluster_test.go +++ b/test/cluster_test.go @@ -406,6 +406,8 @@ func TestClusterDoubleMsgs(t *testing.T) { sendB("PING\r\n") expectB(pongRe) + time.Sleep(10 * time.Millisecond) + matches = expectMsgsA2(2) checkMsg(t, matches[0], "foo", "", "", "2", "ok") checkForPubSids(t, matches, pSids)