using static test port (#12896)

Co-authored-by: s9m33r <no-reply>
This commit is contained in:
Sameer 2022-10-21 20:54:25 +05:30 committed by GitHub
parent 63bdc428b9
commit ff3f356fcd
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
spring:
codec:
max-in-memory-size: 500KB
host: http://localhost:${server.port}

View File

@ -12,7 +12,7 @@ import org.springframework.web.reactive.function.BodyInserters;
import java.io.IOException;
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT, properties = "server.port=60291")
class SpringReactiveExceptionsApplicationIntegrationTest {
@Autowired
private WebTestClient webTestClient;