Merge pull request #1688 from nats-io/fix2

Flush after purge too
This commit is contained in:
Derek Collison
2020-11-01 13:37:15 -08:00
committed by GitHub

View File

@@ -2459,6 +2459,8 @@ func TestJetStreamAckReplyStreamPending(t *testing.T) {
expectPending(toSend*2 - 2)
// Purge and send a new one.
mset.Purge()
nc.Flush()
sendStreamMsg(t, nc, "foo.1", "Hello World!")
expectPending(0)
for i := 0; i < toSend; i++ {