Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Reenable AzureFile tests for Windows on K8s 1.11.1, resolves #3439 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickLang authored and jackfrancis committed Jul 25, 2018
1 parent ae1b0a6 commit b2d20f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/e2e/kubernetes/kubernetes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b2d20f9

Please sign in to comment.