diff --git a/network/network_windows_test.go b/network/network_windows_test.go index e54d28379ce..eabe114648d 100644 --- a/network/network_windows_test.go +++ b/network/network_windows_test.go @@ -60,7 +60,6 @@ func TestNewAndDeleteNetworkImplHnsV2(t *testing.T) { } err = nm.deleteNetworkImplHnsV2(network) - if err != nil { fmt.Printf("+%v", err) t.Fatal(err) @@ -95,7 +94,6 @@ func TestSuccesfulNetworkCreationWhenAlreadyExists(t *testing.T) { } _, err = nm.newNetworkImplHnsV2(nwInfo, extInterface) - if err != nil { fmt.Printf("+%v", err) t.Fatal(err) @@ -468,7 +466,6 @@ func TestNewAndDeleteNetworkImplHnsV2ForDelegated(t *testing.T) { } err = nm.deleteNetworkImpl(network, cns.NodeNetworkInterfaceFrontendNIC) - if err != nil { fmt.Printf("+%v", err) t.Fatal(err) @@ -540,11 +537,11 @@ func TestConfigureHCNNetworkInfraNIC(t *testing.T) { MasterIfName: "eth0", NICType: cns.InfraNIC, IfIndex: 1, - EndpointID: "753d3fb6-e9b3-49e2-a109-2acc5dda61f1", - ContainerID: "545055c2-1462-42c8-b222-e75d0b291632", - NetNsPath: "fakeNameSpace", - IfName: "eth0", - Data: make(map[string]interface{}), + EndpointID: "753d3fb6-e9b3-49e2-a109-2acc5dda61f1", + ContainerID: "545055c2-1462-42c8-b222-e75d0b291632", + NetNsPath: "fakeNameSpace", + IfName: "eth0", + Data: make(map[string]interface{}), EndpointDNS: DNSInfo{ Suffix: "10.0.0.0", Servers: []string{"10.0.0.1, 10.0.0.2"},