skip to Main Content

Invocation of init method failed; nested exception is java.lang.RuntimeException: Can't start redis server

I am using embedded Redis in our Webflux testcases using the following dependency in pom.xml file <dependency> <groupId>com.github.kstyrc</groupId> <artifactId>embedded-redis</artifactId> <version>0.6</version> </dependency> And using below annotations for controllertest classes @RunWith(SpringRunner.class) @AutoConfigureWebTestClient(timeout = "36000000") @WithMockUser @TestPropertySource(locations = "classpath:application-test.properties") @SpringBootTest(classes = Application.class) @DirtiesContext…

VIEW QUESTION
Back To Top
Search