diff options
-rw-r--r-- | plugins/http/tests/configs/.rr-http.yaml | 2 | ||||
-rw-r--r-- | plugins/http/tests/http_test.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/http/tests/configs/.rr-http.yaml b/plugins/http/tests/configs/.rr-http.yaml index c7d6a999..c907c5e7 100644 --- a/plugins/http/tests/configs/.rr-http.yaml +++ b/plugins/http/tests/configs/.rr-http.yaml @@ -13,7 +13,7 @@ server: http: debug: true - address: 127.0.0.1:8084 + address: 127.0.0.1:18903 maxRequestSize: 1024 middleware: [ "" ] uploads: diff --git a/plugins/http/tests/http_test.go b/plugins/http/tests/http_test.go index 103e7b3f..451566ca 100644 --- a/plugins/http/tests/http_test.go +++ b/plugins/http/tests/http_test.go @@ -843,7 +843,7 @@ func TestHttpMiddleware(t *testing.T) { } func middleware(t *testing.T) { - req, err := http.NewRequest("GET", "http://localhost:8084?hello=world", nil) + req, err := http.NewRequest("GET", "http://localhost:18903?hello=world", nil) assert.NoError(t, err) r, err := http.DefaultClient.Do(req) @@ -858,7 +858,7 @@ func middleware(t *testing.T) { err = r.Body.Close() assert.NoError(t, err) - req, err = http.NewRequest("GET", "http://localhost:8084/halt", nil) + req, err = http.NewRequest("GET", "http://localhost:18903/halt", nil) assert.NoError(t, err) r, err = http.DefaultClient.Do(req) |