Changing redis server port
This commit is contained in:
@@ -74,7 +74,8 @@ public class VaultEnvironmentProperties implements HttpEnvironmentRepositoryProp
|
||||
private int kvVersion = 1;
|
||||
|
||||
/**
|
||||
* The value of the Vault X-Vault-Namespace header. Defaults to null. This a Vault Enterprise feature only.
|
||||
* The value of the Vault X-Vault-Namespace header. Defaults to null. This a Vault
|
||||
* Enterprise feature only.
|
||||
*/
|
||||
private String namespace;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.cloud.test.ModifiedClassPathRunner;
|
||||
public class CompositeClasspathTests {
|
||||
|
||||
@RunWith(ModifiedClassPathRunner.class)
|
||||
@ClassPathExclusions({"spring-jdbc-*.jar", "spring-data-redis-*.jar"})
|
||||
@ClassPathExclusions({ "spring-jdbc-*.jar", "spring-data-redis-*.jar" })
|
||||
public static class JdbcTests {
|
||||
|
||||
@Test
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@DataRedisTest
|
||||
@DataRedisTest(properties = "spring.redis.port=6378")
|
||||
@ActiveProfiles("redis")
|
||||
public class RedisEnvironmentRepositoryIntegrationTests {
|
||||
|
||||
@@ -43,7 +43,7 @@ public class RedisEnvironmentRepositoryIntegrationTests {
|
||||
|
||||
@Before
|
||||
public void startRedis() throws IOException {
|
||||
redisServer = new RedisServer(6379);
|
||||
redisServer = new RedisServer(6378);
|
||||
redisServer.start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user