Skip to content

Commit 4b0600b

Browse files
committed
Merge branch '2.4.x'
Closes gh-25576
2 parents 2c8e78b + 3cc36d5 commit 4b0600b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-webflux/src/test/java/smoketest/session/SampleSessionWebFluxApplicationTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@
3535
*
3636
* @author Vedran Pavic
3737
*/
38-
@SpringBootTest(properties = "spring.session.timeout:2", webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
38+
@SpringBootTest(properties = "spring.session.timeout:5", webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
3939
class SampleSessionWebFluxApplicationTests {
4040

4141
@LocalServerPort
@@ -59,7 +59,7 @@ void userDefinedMappingsSecureByDefault() {
5959
.doOnNext((sessionId) -> assertThat(sessionId).isEqualTo(tuple.getT2()))
6060
.thenReturn(sesssionCookie);
6161
});
62-
}).delayElement(Duration.ofSeconds(2))
62+
}).delayElement(Duration.ofSeconds(5))
6363
.flatMap((sessionCookie) -> client.get().cookie("SESSION", sessionCookie).exchangeToMono((response) -> {
6464
assertThat(response.statusCode()).isEqualTo(HttpStatus.UNAUTHORIZED);
6565
return response.releaseBody();

0 commit comments

Comments
 (0)