diff --git a/go/lib/topology/topology_test.go b/go/lib/topology/topology_test.go index 3931db5ac5..4ad6fd118f 100644 --- a/go/lib/topology/topology_test.go +++ b/go/lib/topology/topology_test.go @@ -377,7 +377,7 @@ func TestExternalDataPlanePort(t *testing.T) { Name: "Bad invalid public", Raw: &jsontopo.BRInterface{ Underlay: jsontopo.Underlay{ - Public: "foo:42", + Public: "thishostdoesnotexist:42", }, }, ExpectedError: assert.Error, @@ -414,7 +414,7 @@ func TestExternalDataPlanePort(t *testing.T) { Raw: &jsontopo.BRInterface{ Underlay: jsontopo.Underlay{ Public: "127.0.0.1:42", - Bind: "foo", + Bind: "thishostdoesnotexist", }, }, ExpectedError: assert.Error, @@ -465,7 +465,7 @@ func TestExternalDataPlanePort(t *testing.T) { Raw: &jsontopo.BRInterface{ Underlay: jsontopo.Underlay{ Public: "[::1]:42", - Bind: "foo", + Bind: "thishostdoesnotexist", }, }, ExpectedError: assert.Error, @@ -495,7 +495,7 @@ func TestRawAddrMap_ToTopoAddr(t *testing.T) { { name: "IPvX invalid address", assertError: assert.Error, - raw: "foo:42", + raw: "thishostdoesnotexist:42", }, { name: "IPv4 invalid port",