Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel committed Oct 3, 2024
1 parent 0d43708 commit 406e02b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ public void testSaveOnEvictionFail() throws Exception
DefaultSessionCache cache = (DefaultSessionCache)cacheFactory.getSessionCache(sessionManager);

//test values: allow first save, fail evict save, allow save
FailableSessionDataStore sessionDataStore = new FailableSessionDataStore(new boolean[]{true, false, true});
FailableSessionDataStore sessionDataStore = new FailableSessionDataStore(new boolean[]{true, true, false, true});
cache.setSessionDataStore(sessionDataStore);
sessionManager.setSessionCache(cache);
server.addBean(sessionManager);
Expand Down

0 comments on commit 406e02b

Please sign in to comment.