Fix test flapper

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2020-09-03 07:54:07 -07:00
parent 3faa2e7637
commit 2ba9c97f3d

View File

@@ -3320,6 +3320,8 @@ func TestLeafNodeDaisyChain(t *testing.T) {
})
nc1.Flush()
checkSubInterest(t, s3, "$G", "ngs.usage", time.Second)
nc2, err := nats.Connect(s3.ClientURL())
if err != nil {
t.Fatalf("Error creating client: %v", err)