summaryrefslogtreecommitdiff
path: root/tests/plugins/status/plugin_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-11 11:45:24 +0300
committerValery Piashchynski <[email protected]>2021-08-11 11:45:24 +0300
commit3e2e9fbd9650c44d57a41a9dc702fe93aad2b77f (patch)
tree38f25c3c0679e8510b896d001d1b7dccf21c4bd8 /tests/plugins/status/plugin_test.go
parentd449d9d5aec1eec6d494064299feb1551f88ffe2 (diff)
Replace all 'localhost' with '127.0.0.1'. Fix default configuration and
other small bugs. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/status/plugin_test.go')
-rw-r--r--tests/plugins/status/plugin_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/status/plugin_test.go b/tests/plugins/status/plugin_test.go
index 663f4ee3..227cfd46 100644
--- a/tests/plugins/status/plugin_test.go
+++ b/tests/plugins/status/plugin_test.go
@@ -345,7 +345,7 @@ func TestReadinessRPCWorkerNotReady(t *testing.T) {
func doHTTPReq(t *testing.T) {
go func() {
- req, err := http.NewRequest("GET", "http://localhost:11933", nil)
+ req, err := http.NewRequest("GET", "http://127.0.0.1:11933", nil)
assert.NoError(t, err)
r, err := http.DefaultClient.Do(req)