Add in server shutdowns

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2018-12-01 17:30:22 -08:00
parent 46707a2c01
commit 222814609d

View File

@@ -339,6 +339,8 @@ func TestSystemAccountInternalSubscriptions(t *testing.T) {
func TestSystemAccountConnectionLimits(t *testing.T) {
sa, optsA, sb, optsB := runTrustedCluster(t)
defer sa.Shutdown()
defer sb.Shutdown()
// We want to test that we are limited to a certain number of active connections
// across multiple servers.