diff options
author | Valery Piashchynski <[email protected]> | 2021-08-11 11:45:24 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-11 11:45:24 +0300 |
commit | 3e2e9fbd9650c44d57a41a9dc702fe93aad2b77f (patch) | |
tree | 38f25c3c0679e8510b896d001d1b7dccf21c4bd8 /tests/plugins/jobs/jobs_with_toxics_test.go | |
parent | d449d9d5aec1eec6d494064299feb1551f88ffe2 (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/jobs/jobs_with_toxics_test.go')
-rw-r--r-- | tests/plugins/jobs/jobs_with_toxics_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/plugins/jobs/jobs_with_toxics_test.go b/tests/plugins/jobs/jobs_with_toxics_test.go index 7e2bd8be..71986db3 100644 --- a/tests/plugins/jobs/jobs_with_toxics_test.go +++ b/tests/plugins/jobs/jobs_with_toxics_test.go @@ -27,9 +27,9 @@ import ( ) func TestDurabilityAMQP(t *testing.T) { - client := toxiproxy.NewClient("localhost:8474") + client := toxiproxy.NewClient("127.0.0.1:8474") - _, err := client.CreateProxy("redial", "localhost:23679", "localhost:5672") + _, err := client.CreateProxy("redial", "127.0.0.1:23679", "127.0.0.1:5672") require.NoError(t, err) defer deleteProxy("redial", t) @@ -150,9 +150,9 @@ func TestDurabilityAMQP(t *testing.T) { } func TestDurabilitySQS(t *testing.T) { - client := toxiproxy.NewClient("localhost:8474") + client := toxiproxy.NewClient("127.0.0.1:8474") - _, err := client.CreateProxy("redial", "localhost:19324", "localhost:9324") + _, err := client.CreateProxy("redial", "127.0.0.1:19324", "127.0.0.1:9324") require.NoError(t, err) defer deleteProxy("redial", t) @@ -273,9 +273,9 @@ func TestDurabilitySQS(t *testing.T) { } func TestDurabilityBeanstalk(t *testing.T) { - client := toxiproxy.NewClient("localhost:8474") + client := toxiproxy.NewClient("127.0.0.1:8474") - _, err := client.CreateProxy("redial", "localhost:11400", "localhost:11300") + _, err := client.CreateProxy("redial", "127.0.0.1:11400", "127.0.0.1:11300") require.NoError(t, err) defer deleteProxy("redial", t) |