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

Reenable AzureFile tests for Windows on K8s 1.11.1, resolves #3439 #3496

Merged
merged 2 commits into from
Jul 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/e2e/kubernetes/kubernetes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -823,10 +823,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