From 222814609de28130d463512caec382cfa824de16 Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Sat, 1 Dec 2018 17:30:22 -0800 Subject: [PATCH] Add in server shutdowns Signed-off-by: Derek Collison --- server/events_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/events_test.go b/server/events_test.go index 2f869029..e70ba9c0 100644 --- a/server/events_test.go +++ b/server/events_test.go @@ -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.