@@ -98,7 +98,7 @@ func newProxyTester(t *testing.T, secondSocketSpec string, fakeCriServerMakers [
98
98
journal := proxytest .NewSimpleJournal ()
99
99
servers := []proxytest.FakeCriServer {
100
100
fakeCriServerMakers [0 ](proxytest .NewPrefixJournal (journal , "1/" ), "/cri" ),
101
- fakeCriServerMakers [1 ](proxytest .NewPrefixJournal (journal , "2/" ), "http://192.168.0.5 :12345/stream" ),
101
+ fakeCriServerMakers [1 ](proxytest .NewPrefixJournal (journal , "2/" ), "//[::] :12345/stream" ),
102
102
}
103
103
104
104
fakeImageNames1 := []string {"image1-1" , "image1-2" }
@@ -1054,7 +1054,7 @@ func verifyCRIProxy(t *testing.T, secondSocketSpec string, useNewCriVersionForPr
1054
1054
Cmd : []string {"ls" },
1055
1055
},
1056
1056
resp : & runtimeapi.ExecResponse {
1057
- Url : "http://192.168.0.5 :12345/stream" ,
1057
+ Url : "//[::] :12345/stream" ,
1058
1058
},
1059
1059
journal : []string {"2/runtime/Exec" },
1060
1060
},
@@ -1076,7 +1076,7 @@ func verifyCRIProxy(t *testing.T, secondSocketSpec string, useNewCriVersionForPr
1076
1076
ContainerId : containerId2 ,
1077
1077
},
1078
1078
resp : & runtimeapi.AttachResponse {
1079
- Url : "http://192.168.0.5 :12345/stream" ,
1079
+ Url : "//[::] :12345/stream" ,
1080
1080
},
1081
1081
journal : []string {"2/runtime/Attach" },
1082
1082
},
@@ -1100,7 +1100,7 @@ func verifyCRIProxy(t *testing.T, secondSocketSpec string, useNewCriVersionForPr
1100
1100
Port : []int32 {80 },
1101
1101
},
1102
1102
resp : & runtimeapi.PortForwardResponse {
1103
- Url : "http://192.168.0.5 :12345/stream" ,
1103
+ Url : "//[::] :12345/stream" ,
1104
1104
},
1105
1105
journal : []string {"2/runtime/PortForward" },
1106
1106
},
0 commit comments