summaryrefslogtreecommitdiff
path: root/plugins/http/tests/http_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/http/tests/http_test.go')
-rw-r--r--plugins/http/tests/http_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/http/tests/http_test.go b/plugins/http/tests/http_test.go
index 28461950..5f78a3d6 100644
--- a/plugins/http/tests/http_test.go
+++ b/plugins/http/tests/http_test.go
@@ -173,7 +173,7 @@ func TestHTTPInformerReset(t *testing.T) {
}
func echoHTTP(t *testing.T) {
- req, err := http.NewRequest("GET", "http://localhost:8084?hello=world", nil)
+ req, err := http.NewRequest("GET", "http://localhost:10084?hello=world", nil)
assert.NoError(t, err)
r, err := http.DefaultClient.Do(req)
@@ -219,7 +219,7 @@ func informerTest(t *testing.T) {
err = client.Call("informer.Workers", "http", &list)
assert.NoError(t, err)
- assert.Len(t, list.Workers, 4)
+ assert.Len(t, list.Workers, 2)
}
func TestSSL(t *testing.T) {