Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-2.0/
*
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
Expand Down Expand Up @@ -236,8 +236,8 @@ public void testHttpSessionListener() throws Exception {
public void testModifyWithoutPut() throws Exception {
List<String> session = new ArrayList<>();
if (session != null) {
appA.sessionPut("testModifyWithoutPut-key", new StringBuffer("MyValue"), session, true);
Thread.sleep(500);
appA.sessionPut("testModifyWithoutPut-key&sync=true", new StringBuffer("MyValue"), session, true);
Thread.sleep(500);
try {
appB.invokeServlet("testStringBufferAppendWithoutSetAttribute&key=testModifyWithoutPut-key", session);
// appA should not see the update because it does not get written to the persistent store without a putAttribute per writeContents=ONLY_SET_ATTRIBUTES
Expand Down Expand Up @@ -331,7 +331,7 @@ public void testMaxInactiveInterval() throws Exception {
List<String> session = new ArrayList<>();
if (session != null) {
appA.sessionPut("testMaxInactiveInterval-key", 55901, session, true);
Thread.sleep(500);
Thread.sleep(500);
appB.sessionGet("testMaxInactiveInterval-key", 55901, session);
appA.invokeServlet("setMaxInactiveInterval", session); //set max inactive interval to 1 second

Expand Down