[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 287c8c41bd
commit 6beb78f9d4

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 {