You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/appgw/backendhttpsettings_test.go
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -72,8 +72,8 @@ var _ = Describe("Test the creation of Backend http settings from Ingress defini
72
72
73
73
for_, setting:=rangehttpSettings {
74
74
if*setting.Name==DefaultBackendHTTPSettingsName {
75
-
Expect(setting.Protocol).To(Equal(n.ApplicationGatewayProtocolHTTP), "default backend %s should have %s", *setting.Name, n.ApplicationGatewayProtocolHTTP)
76
-
Expect(probes[utils.GetLastChunkOfSlashed(*setting.Probe.ID)].Protocol).To(Equal(n.ApplicationGatewayProtocolHTTP), "default probe should have http")
75
+
Expect(setting.Protocol).To(Equal(n.ApplicationGatewayProtocolHTTPS), "default backend %s should have %s", *setting.Name, n.ApplicationGatewayProtocolHTTPS)
76
+
Expect(probes[utils.GetLastChunkOfSlashed(*setting.Probe.ID)].Protocol).To(Equal(n.ApplicationGatewayProtocolHTTPS), "default probe should have http")
77
77
continue
78
78
}
79
79
@@ -114,8 +114,8 @@ var _ = Describe("Test the creation of Backend http settings from Ingress defini
114
114
115
115
for_, setting:=rangehttpSettings {
116
116
if*setting.Name==DefaultBackendHTTPSettingsName {
117
-
Expect(setting.Protocol).To(Equal(n.ApplicationGatewayProtocolHTTP), "default backend %s should have %s", *setting.Name, n.ApplicationGatewayProtocolHTTP)
118
-
Expect(probes[utils.GetLastChunkOfSlashed(*setting.Probe.ID)].Protocol).To(Equal(n.ApplicationGatewayProtocolHTTP), "default probe should have http")
117
+
Expect(setting.Protocol).To(Equal(n.ApplicationGatewayProtocolHTTPS), "default backend %s should have %s", *setting.Name, n.ApplicationGatewayProtocolHTTP)
118
+
Expect(probes[utils.GetLastChunkOfSlashed(*setting.Probe.ID)].Protocol).To(Equal(n.ApplicationGatewayProtocolHTTPS), "default probe should have http")
119
119
continue
120
120
}
121
121
@@ -154,7 +154,7 @@ var _ = Describe("Test the creation of Backend http settings from Ingress defini
154
154
155
155
for_, setting:=rangehttpSettings {
156
156
if*setting.Name==DefaultBackendHTTPSettingsName {
157
-
Expect(int32(80)).To(Equal(*setting.Port), "default backend port %d should be 80", *setting.Port)
157
+
Expect(int32(443)).To(Equal(*setting.Port), "default backend port %d should be 80", *setting.Port)
0 commit comments