JAVA-5975 Made All Redis *IntegrationTest to *ManualTest (#10969)
This commit is contained in:
parent
0d6a073223
commit
4663860dde
|
@ -26,7 +26,7 @@ import java.nio.ByteBuffer;
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = SpringRedisReactiveApplication.class)
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = SpringRedisReactiveApplication.class)
|
||||||
@DirtiesContext(classMode = ClassMode.BEFORE_CLASS)
|
@DirtiesContext(classMode = ClassMode.BEFORE_CLASS)
|
||||||
public class RedisKeyCommandsIntegrationTest {
|
public class RedisKeyCommandsManualTest {
|
||||||
|
|
||||||
private static redis.embedded.RedisServer redisServer;
|
private static redis.embedded.RedisServer redisServer;
|
||||||
|
|
|
@ -23,7 +23,7 @@ import java.io.IOException;
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = SpringRedisReactiveApplication.class)
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = SpringRedisReactiveApplication.class)
|
||||||
@DirtiesContext(classMode = ClassMode.BEFORE_CLASS)
|
@DirtiesContext(classMode = ClassMode.BEFORE_CLASS)
|
||||||
public class RedisTemplateListOpsIntegrationTest {
|
public class RedisTemplateListOpsManualTest {
|
||||||
|
|
||||||
private static final String LIST_NAME = "demo_list";
|
private static final String LIST_NAME = "demo_list";
|
||||||
private static redis.embedded.RedisServer redisServer;
|
private static redis.embedded.RedisServer redisServer;
|
|
@ -20,7 +20,7 @@ import static org.junit.Assert.assertTrue;
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = SpringRedisApplication.class)
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = SpringRedisApplication.class)
|
||||||
@DirtiesContext(classMode = ClassMode.BEFORE_CLASS)
|
@DirtiesContext(classMode = ClassMode.BEFORE_CLASS)
|
||||||
public class RedisMessageListenerIntegrationTest {
|
public class RedisMessageListenerManualTest {
|
||||||
|
|
||||||
private static redis.embedded.RedisServer redisServer;
|
private static redis.embedded.RedisServer redisServer;
|
||||||
|
|
|
@ -25,7 +25,7 @@ import redis.embedded.RedisServerBuilder;
|
||||||
@RunWith(SpringJUnit4ClassRunner.class)
|
@RunWith(SpringJUnit4ClassRunner.class)
|
||||||
@ContextConfiguration(classes = RedisConfig.class)
|
@ContextConfiguration(classes = RedisConfig.class)
|
||||||
@DirtiesContext(classMode = ClassMode.BEFORE_CLASS)
|
@DirtiesContext(classMode = ClassMode.BEFORE_CLASS)
|
||||||
public class StudentRepositoryIntegrationTest {
|
public class StudentRepositoryManualTest {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private StudentRepository studentRepository;
|
private StudentRepository studentRepository;
|
Loading…
Reference in New Issue