Fix test for jetty-9.4 apis.
This commit is contained in:
Jan Bartel 2016-07-28 15:11:32 +10:00
parent e45e649761
commit 9f907316c7
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class RedirectSessionTest
@Test
public void testSessionRedirect() throws Exception
{
AbstractTestServer testServer = new HashTestServer(0);
AbstractTestServer testServer = new HashTestServer(0, -1, 60, SessionCache.NEVER_EVICT);
ServletContextHandler testServletContextHandler = testServer.addContext("/context");
testServletContextHandler.addServlet(Servlet1.class, "/one");
testServletContextHandler.addServlet(Servlet2.class, "/two");