summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-26 13:47:53 +0300
committerValery Piashchynski <[email protected]>2020-11-26 13:47:53 +0300
commit72a10aa983e79d42db14416d70ff8dc5e74b472e (patch)
tree076efeabb052e78e431dc053241c1df82dbb00c3 /plugins
parenta418f77a2297bda236ced2cde5fa04f0184f3aaa (diff)
Update ports in the rr-env test
Diffstat (limited to 'plugins')
-rw-r--r--plugins/http/tests/configs/.rr-env.yaml2
-rw-r--r--plugins/http/tests/http_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/http/tests/configs/.rr-env.yaml b/plugins/http/tests/configs/.rr-env.yaml
index ed7def18..c9fdc798 100644
--- a/plugins/http/tests/configs/.rr-env.yaml
+++ b/plugins/http/tests/configs/.rr-env.yaml
@@ -13,7 +13,7 @@ server:
http:
debug: true
- address: 127.0.0.1:8084
+ address: 127.0.0.1:12084
maxRequestSize: 1024
middleware: [ "" ]
env:
diff --git a/plugins/http/tests/http_test.go b/plugins/http/tests/http_test.go
index 5f78a3d6..16164667 100644
--- a/plugins/http/tests/http_test.go
+++ b/plugins/http/tests/http_test.go
@@ -1027,7 +1027,7 @@ func TestHttpEnvVariables(t *testing.T) {
}
func envVarsTest(t *testing.T) {
- req, err := http.NewRequest("GET", "http://localhost:8084", nil)
+ req, err := http.NewRequest("GET", "http://localhost:12084", nil)
assert.NoError(t, err)
r, err := http.DefaultClient.Do(req)