diff --git a/server/accounts_test.go b/server/accounts_test.go index 0d26f90b..8e2cd847 100644 --- a/server/accounts_test.go +++ b/server/accounts_test.go @@ -2968,6 +2968,7 @@ func TestAccountServiceImportWithRouteMappings(t *testing.T) { defer ncFoo.Close() fooSub := natsSubSync(t, ncFoo, "request.v2") + ncFoo.Flush() // Requestor ncBar := natsConnect(t, fmt.Sprintf("nats://ivan:bar@%s:%d", opts.Host, opts.Port))