Skip to content

Commit

Permalink
Issue #6277 Fix RequestTest.testPushBuilder
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Bartel <janb@webtide.com>
  • Loading branch information
janbartel committed May 15, 2021
1 parent b926efb commit 5d95ad5
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -1972,7 +1972,9 @@ public boolean isPushSupported()
@Override
public HttpSession getSession()
{
return new Session(new SessionHandler(), new SessionData(TEST_SESSION_ID, "", "0.0.0.0", 0, 0, 0, 300));
Session session = new Session(new SessionHandler(), new SessionData(TEST_SESSION_ID, "", "0.0.0.0", 0, 0, 0, 300));
session.setResident(true); //necessary for session methods to not throw ISE
return session;
}

@Override
Expand Down

0 comments on commit 5d95ad5

Please sign in to comment.