Changing redis server port

This commit is contained in:
Ryan Baxter
2019-03-25 20:47:39 -04:00
parent 2759ed4ba1
commit e85561ec36
3 changed files with 5 additions and 4 deletions

View File

@@ -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;

View File

@@ -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

View File

@@ -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();
}