Reenable AzureFile tests for Windows on K8s 1.11.1, resolves
@@ -841,10 +841,10 @@ var _ = Describe("Azure Container Cluster using the Kubernetes Orchestrator", fu
It("should be able to attach azure file", func() {
if eng.HasWindowsAgents() {
- if common.IsKubernetesVersionGe(eng.ClusterDefinition.ContainerService.Properties.OrchestratorProfile.OrchestratorVersion, "1.11") {
- // Failure in 1.11+ - https://github.com/kubernetes/kubernetes/issues/65845
- Skip("Kubernetes 1.11 has a known issue creating Azure PersistentVolumeClaims")
- } else if common.IsKubernetesVersionGe(eng.ClusterDefinition.ContainerService.Properties.OrchestratorProfile.OrchestratorVersion, "1.8") {
+ if eng.ExpandedDefinition.Properties.OrchestratorProfile.OrchestratorVersion == "1.11.0" {
+ // Failure in 1.11.0 - https://github.com/kubernetes/kubernetes/issues/65845, fixed in 1.11.1
+ Skip("Kubernetes 1.11.0 has a known issue creating Azure PersistentVolumeClaims")
+ } else if common.IsKubernetesVersionGe(eng.ExpandedDefinition.Properties.OrchestratorProfile.OrchestratorVersion, "1.8.0") {
By("Creating an AzureFile storage class")
storageclassName := "azurefile" // should be the same as in storageclass-azurefile.yaml
sc, err := storageclass.CreateStorageClassFromFile(filepath.Join(WorkloadDir, "storageclass-azurefile.yaml"), storageclassName)
