Skip to content

Commit a46b234

Browse files
authored
CON-12387 Fix CI Test_LBaaSCertificateScenarios tests (#833)
1 parent 2b44b2b commit a46b234

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cloud-controller-manager/do/certificates_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ func Test_LBaaSCertificateScenarios(t *testing.T) {
388388
}
389389
lbCertID := getCertificateIDFromLB(godoLoadBalancer)
390390
if test.expectedLBCertID != lbCertID {
391-
t.Errorf("got load-balancer certificate ID: %s, want: %s", test.expectedLBCertID, lbCertID)
391+
t.Errorf("got load-balancer certificate ID: %s, want: %s", lbCertID, test.expectedLBCertID)
392392
}
393393

394394
if test.expectedLBCertName != "" {

cloud-controller-manager/do/loadbalancers_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ func createLB() *godo.LoadBalancer {
151151
func createHTTPSLB(lbID, certID, certType string) (*godo.LoadBalancer, *godo.Certificate) {
152152
lb := &godo.LoadBalancer{
153153
ID: lbID,
154+
Type: godo.LoadBalancerTypeRegional,
154155
Name: "afoobar123",
155156
IP: "10.0.0.1",
156157
IPv6: "fd53::b001",

0 commit comments

Comments
 (0)