Skip to content

Commit

Permalink
Fix failing test on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbindreiter committed Jan 31, 2025
1 parent 1e358e7 commit 9b563c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion uri_source_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ func TestReadURI(t *testing.T) {
{
name: "Invalid http URL",
path: "http://foo",
err: "no such host",

// locally we get: "dial tcp: lookup foo: no such host"
// but on CI local networks are disabled,
// so the error is: "dial tcp: lookup foo on 127.0.0.11:53: server misbehaving"
// therefore let's check for the "lookup foo", which is in both errors
err: "lookup foo",
},
{
name: "valid http URL",
Expand Down

0 comments on commit 9b563c8

Please sign in to comment.