Fix test flapper

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2023-04-27 07:19:56 -07:00
parent a66ac8cb9b
commit 59e2107435

View File

@@ -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)