From dd40c68ff8d08e95ea5b27391eb999b413b1ef6e Mon Sep 17 00:00:00 2001 From: Joshua Foster Date: Wed, 17 Jun 2020 16:00:38 -0400 Subject: [PATCH] fix default IP address in test to all ipv4 addresses --- builder/vsphere/common/step_http_ip_discover_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vsphere/common/step_http_ip_discover_test.go b/builder/vsphere/common/step_http_ip_discover_test.go index 9ed6cbb22..a4225774f 100644 --- a/builder/vsphere/common/step_http_ip_discover_test.go +++ b/builder/vsphere/common/step_http_ip_discover_test.go @@ -43,7 +43,7 @@ func TestStepHTTPIPDiscover_Run(t *testing.T) { t.Fatalf("bad: Http ip is %s but was supposed to be %s", httpIp, ip) } - _, ipNet, err := net.ParseCIDR("0.0.0.0/24") + _, ipNet, err := net.ParseCIDR("0.0.0.0/0") if err != nil { t.Fatal("error getting ipNet", err) }