@@ -77,7 +77,7 @@ var _ = sigDescribe("Hybrid cluster network", skipUnlessWindows(func() {
77
77
78
78
})
79
79
80
- f .It ("should provide Internet connection for Linux containers using DNS " , feature .NetworkingDNS , func (ctx context.Context ) {
80
+ f .It ("should provide Internet connection for Linux containers" , feature .NetworkingIPv4 , func (ctx context.Context ) {
81
81
linuxPod := createTestPod (f , linuxBusyBoxImage , linuxOS )
82
82
ginkgo .By ("creating a linux pod and waiting for it to be running" )
83
83
linuxPod = e2epod .NewPodClient (f ).CreateSync (ctx , linuxPod )
@@ -88,7 +88,7 @@ var _ = sigDescribe("Hybrid cluster network", skipUnlessWindows(func() {
88
88
assertConsistentConnectivity (ctx , f , linuxPod .ObjectMeta .Name , linuxOS , linuxCheck ("8.8.8.8" , 53 ), externalMaxTries )
89
89
})
90
90
91
- f .It ("should provide Internet connection for Windows containers using DNS" , feature .NetworkingDNS , func (ctx context.Context ) {
91
+ f .It ("should provide Internet connection and DNS for Windows containers" , feature . NetworkingIPv4 , feature .NetworkingDNS , func (ctx context.Context ) {
92
92
windowsPod := createTestPod (f , windowsBusyBoximage , windowsOS )
93
93
ginkgo .By ("creating a windows pod and waiting for it to be running" )
94
94
windowsPod = e2epod .NewPodClient (f ).CreateSync (ctx , windowsPod )
@@ -136,7 +136,7 @@ func linuxCheck(address string, port int) []string {
136
136
}
137
137
138
138
func windowsCheck (address string ) []string {
139
- curl := fmt .Sprintf ("curl.exe %s --connect-timeout %v --fail" , address , timeoutSeconds )
139
+ curl := fmt .Sprintf ("curl.exe -4 %s --connect-timeout %v --fail" , address , timeoutSeconds )
140
140
cmd := []string {"cmd" , "/c" , curl }
141
141
return cmd
142
142
}
0 commit comments