Flush to make sure it gets processed

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2021-03-13 12:39:27 -05:00
parent e07724f16c
commit 2d521471fd

View File

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