[JAVA-22589] Added comment regarding the failure of test

This commit is contained in:
panos-kakos
2023-08-28 10:04:17 +03:00
parent f2034aac6a
commit 238131f7dc

View File

@@ -31,6 +31,10 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.annotation.DirtiesContext;
/**
* This was failing as a unit test in integrated environment
* probably due to parallel execution of tests.
*/
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD) @DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
class ResilientAppControllerManualTest { class ResilientAppControllerManualTest {