Issue #6085 Fix duplicate valid session cookies to pick first valid.
Fixed typo and stopping server & client in testMulitpleIdenticalSessionCookies(). Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
64006c61c6
commit
f6afdc5b01
|
@ -324,7 +324,7 @@ public class DuplicateCookieTest
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testMulitpleIdenticalSessionCookies() throws Exception
|
||||
public void testMultipleIdenticalSessionCookies() throws Exception
|
||||
{
|
||||
String contextPath = "";
|
||||
String servletMapping = "/server";
|
||||
|
@ -364,6 +364,11 @@ public class DuplicateCookieTest
|
|||
//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
|
||||
|
|
Loading…
Reference in New Issue