Add Spring Cloud Refresh Context smoke tests
Closes gh-26
This commit is contained in:
committed by
Sébastien Deleuze
parent
888b9e0c02
commit
dae8b34de9
@@ -12,11 +12,10 @@ class WebClientConfiguration {
|
||||
@Bean
|
||||
WebClient webClient(WebClient.Builder builder, ClientHttpConnector clientHttpConnector) {
|
||||
// TODO Check why run-dev-container.sh is broken by the commented line below
|
||||
//String host = env("HTTPBIN_HOST", "localhost");
|
||||
// String host = env("HTTPBIN_HOST", "localhost");
|
||||
String host = "localhost";
|
||||
int port = env("HTTPBIN_PORT_8080", 8080);
|
||||
return builder.baseUrl("http://%s:%d/".formatted(host, port))
|
||||
.clientConnector(clientHttpConnector).build();
|
||||
return builder.baseUrl("http://%s:%d/".formatted(host, port)).clientConnector(clientHttpConnector).build();
|
||||
}
|
||||
|
||||
private static String env(String name, String def) {
|
||||
|
||||
Reference in New Issue
Block a user