Skip to content

Commit 1ee7ac3

Browse files
committed
Merge branch '2.7.x'
2 parents 4e62ac4 + 7eff00b commit 1ee7ac3

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2022 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:5", webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
38+
@SpringBootTest(properties = "spring.session.timeout:10", 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(5))
62+
}).delayElement(Duration.ofSeconds(10))
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)