Fix unit tests on Darwin (#4458)
This commit is contained in:
@@ -662,10 +662,10 @@ func TestNetworkErrors(t *testing.T) {
|
||||
|
||||
// Connecton failed
|
||||
h = &HTTPResponse{
|
||||
Address: "https://127.127.127.127", // Any non-routable IP works here
|
||||
Address: "https:/nonexistent.nonexistent", // Any non-routable IP works here
|
||||
Body: "",
|
||||
Method: "GET",
|
||||
ResponseTimeout: internal.Duration{Duration: time.Second * 20},
|
||||
ResponseTimeout: internal.Duration{Duration: time.Second * 5},
|
||||
FollowRedirects: false,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user