Skip to content

Commit c0d8e36

Browse files
committed
temporarily disable ILB test for VMSS
1 parent a25e517 commit c0d8e36

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

test/e2e/azure_lb.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ type AzureLBSpecInput struct {
4646
SkipCleanup bool
4747
IPv6 bool
4848
Windows bool
49+
IsVMSS bool
4950
}
5051

5152
// AzureLBSpec implements a test that verifies Azure internal and external load balancers can
@@ -112,7 +113,9 @@ func AzureLBSpec(ctx context.Context, inputGetter func() AzureLBSpecInput) {
112113

113114
// TODO: fix and enable this. Internal LBs + IPv6 is currently in preview.
114115
// https://docs.microsoft.com/en-us/azure/virtual-network/ipv6-dual-stack-standard-internal-load-balancer-powershell
115-
if !input.IPv6 {
116+
//
117+
// TODO: fix and enable this for VMSS after NRP / CRP sync bug is resolved
118+
if !input.IPv6 && !input.IsVMSS {
116119
By("creating an internal Load Balancer service")
117120

118121
ilbService := webDeployment.GetService(ports, deploymentBuilder.InternalLoadbalancer)

test/e2e/azure_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ var _ = Describe("Workload cluster creation", func() {
297297
Namespace: namespace,
298298
ClusterName: clusterName,
299299
SkipCleanup: skipCleanup,
300+
IsVMSS: true,
300301
}
301302
})
302303
})
@@ -485,6 +486,7 @@ var _ = Describe("Workload cluster creation", func() {
485486
Namespace: namespace,
486487
ClusterName: clusterName,
487488
SkipCleanup: skipCleanup,
489+
IsVMSS: true,
488490
}
489491
})
490492
})
@@ -497,6 +499,7 @@ var _ = Describe("Workload cluster creation", func() {
497499
ClusterName: clusterName,
498500
SkipCleanup: skipCleanup,
499501
Windows: true,
502+
IsVMSS: true,
500503
}
501504
})
502505
})

0 commit comments

Comments
 (0)