Skip to content

Commit

Permalink
Always use localhost for @TestHTTPResource
Browse files Browse the repository at this point in the history
Fixes: #12369
  • Loading branch information
geoand committed Sep 28, 2020
1 parent 4d56dee commit 55a856d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
*/
public class TestHTTPConfigSourceProvider implements ConfigSourceProvider {

static final String TEST_URL_VALUE = "http://${quarkus.http.host:localhost}:${quarkus.http.test-port:8081}${quarkus.servlet.context-path:}";
static final String TEST_URL_VALUE = "http://localhost:${quarkus.http.test-port:8081}${quarkus.servlet.context-path:}";
static final String TEST_URL_KEY = "test.url";

static final String TEST_URL_SSL_VALUE = "https://${quarkus.http.host:localhost}:${quarkus.http.test-ssl-port:8444}${quarkus.servlet.context-path:}";
static final String TEST_URL_SSL_VALUE = "https://localhost:${quarkus.http.test-ssl-port:8444}${quarkus.servlet.context-path:}";
static final String TEST_URL_SSL_KEY = "test.url.ssl";

static final Map<String, String> entries;
Expand Down

0 comments on commit 55a856d

Please sign in to comment.