diff --git a/tests/test-sessions/test-sessions-common/src/test/java/org/eclipse/jetty/server/session/DuplicateCookieTest.java b/tests/test-sessions/test-sessions-common/src/test/java/org/eclipse/jetty/server/session/DuplicateCookieTest.java index 010e966a6107..9eb6f39c1b8b 100644 --- a/tests/test-sessions/test-sessions-common/src/test/java/org/eclipse/jetty/server/session/DuplicateCookieTest.java +++ b/tests/test-sessions/test-sessions-common/src/test/java/org/eclipse/jetty/server/session/DuplicateCookieTest.java @@ -324,7 +324,7 @@ public void testMultipleSessionCookiesMultipleExists() throws Exception } @Test - public void testMulitpleIdenticalSessionCookies() throws Exception + public void testMultipleIdenticalSessionCookies() throws Exception { String contextPath = ""; String servletMapping = "/server"; @@ -364,6 +364,11 @@ public void testMulitpleIdenticalSessionCookies() throws Exception //check that all valid sessions have their request counts decremented correctly after the request, back to 0 assertEquals(0, s1234.getRequests()); } + finally + { + server1.stop(); + client.stop(); + } } public Session createUnExpiredSession(SessionCache cache, SessionDataStore store, String id) throws Exception