Disable config client for tests
This commit is contained in:
@@ -7,7 +7,7 @@ import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest("spring.cloud.bus.enabled=false")
|
||||
@SpringBootTest({"spring.cloud.bus.enabled=false", "spring.cloud.config.enabled=false"})
|
||||
public class DeployerApplicationTests {
|
||||
|
||||
@Test
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest("spring.cloud.bus.enabled=false")
|
||||
@SpringBootTest({"spring.cloud.bus.enabled=false", "spring.cloud.config.enabled=false"})
|
||||
public class DeployerApplicationTests {
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user