Re-order client close

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2020-04-14 09:54:57 -07:00
parent aff10aa16b
commit a301d6731b

View File

@@ -3517,9 +3517,9 @@ func TestServiceExportWithLeafnodeRestart(t *testing.T) {
}
// Now restart server E and requestor and replier.
srvE.Shutdown()
nc.Close()
nc2.Close()
srvE.Shutdown()
srvE, optsE = RunServerWithConfig(confE)
defer srvE.Shutdown()