Skip to content

Commit 2f01b10

Browse files
authored
Merge pull request #6138 from k8s-infra-cherrypick-robot/cherry-pick-6137-to-release-1.21
[release-1.21] Remove Windows VMSS test
2 parents b4e44e3 + 94dd4d8 commit 2f01b10

File tree

1 file changed

+0
-68
lines changed

1 file changed

+0
-68
lines changed

test/e2e/azure_test.go

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -524,74 +524,6 @@ var _ = Describe("Workload cluster creation", func() {
524524
})
525525
})
526526

527-
Context("Creating a VMSS cluster with Windows [WINDOWS]", func() {
528-
It("with a single control plane node and an AzureMachinePool with 2 Linux and 2 Windows worker nodes", func() {
529-
clusterName = getClusterName(clusterNamePrefix, "vmss-win")
530-
531-
// Opt into using windows with prow template
532-
Expect(os.Setenv("WINDOWS_WORKER_MACHINE_COUNT", "2")).To(Succeed())
533-
534-
clusterctl.ApplyClusterTemplateAndWait(ctx, createApplyClusterTemplateInput(
535-
specName,
536-
withFlavor("machine-pool-windows"),
537-
withNamespace(namespace.Name),
538-
withClusterName(clusterName),
539-
withControlPlaneMachineCount(1),
540-
withWorkerMachineCount(2),
541-
withMachineDeploymentInterval(specName, ""),
542-
withControlPlaneInterval(specName, "wait-control-plane"),
543-
withMachinePoolInterval(specName, "wait-machine-pool-nodes"),
544-
withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{
545-
WaitForControlPlaneInitialized: EnsureControlPlaneInitialized,
546-
}),
547-
withPostMachinesProvisioned(func() {
548-
EnsureDaemonsets(ctx, func() DaemonsetsSpecInput {
549-
return DaemonsetsSpecInput{
550-
BootstrapClusterProxy: bootstrapClusterProxy,
551-
Namespace: namespace,
552-
ClusterName: clusterName,
553-
}
554-
})
555-
}),
556-
), result)
557-
558-
By("Verifying expected VM extensions are present on the node", func() {
559-
AzureVMExtensionsSpec(ctx, func() AzureVMExtensionsSpecInput {
560-
return AzureVMExtensionsSpecInput{
561-
BootstrapClusterProxy: bootstrapClusterProxy,
562-
Namespace: namespace,
563-
ClusterName: clusterName,
564-
}
565-
})
566-
})
567-
568-
By("Creating an accessible load balancer", func() {
569-
AzureLBSpec(ctx, func() AzureLBSpecInput {
570-
return AzureLBSpecInput{
571-
BootstrapClusterProxy: bootstrapClusterProxy,
572-
Namespace: namespace,
573-
ClusterName: clusterName,
574-
SkipCleanup: skipCleanup,
575-
}
576-
})
577-
})
578-
579-
By("Creating an accessible load balancer for windows", func() {
580-
AzureLBSpec(ctx, func() AzureLBSpecInput {
581-
return AzureLBSpecInput{
582-
BootstrapClusterProxy: bootstrapClusterProxy,
583-
Namespace: namespace,
584-
ClusterName: clusterName,
585-
SkipCleanup: skipCleanup,
586-
Windows: true,
587-
}
588-
})
589-
})
590-
591-
By("PASSED!")
592-
})
593-
})
594-
595527
// ci-e2e.sh and Prow CI skip this test by default, since N-series GPUs are relatively expensive
596528
// and may require specific quota limits on the subscription.
597529
// To include this test, set `GINKGO_SKIP=""`.

0 commit comments

Comments
 (0)