Skip to content

Commit

Permalink
Enable node drain timeout CAPI test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cecile Robert-Michon committed Jun 23, 2021
1 parent f3ecc73 commit 2f0094b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
23 changes: 11 additions & 12 deletions test/e2e/capi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,15 @@ var _ = Describe("Running the Cluster API E2E tests", func() {
})
})

// TODO: enable this with a longer timeout once https://github.com/kubernetes-sigs/cluster-api/pull/4830 is imported.
//Context("Should successfully set and use node drain timeout", func() {
// capi_e2e.NodeDrainTimeoutSpec(context.TODO(), func() capi_e2e.NodeDrainTimeoutSpecInput {
// return capi_e2e.NodeDrainTimeoutSpecInput{
// E2EConfig: e2eConfig,
// ClusterctlConfigPath: clusterctlConfigPath,
// BootstrapClusterProxy: bootstrapClusterProxy,
// ArtifactFolder: artifactFolder,
// SkipCleanup: skipCleanup,
// }
// })
//})
Context("Should successfully set and use node drain timeout", func() {
capi_e2e.NodeDrainTimeoutSpec(context.TODO(), func() capi_e2e.NodeDrainTimeoutSpecInput {
return capi_e2e.NodeDrainTimeoutSpecInput{
E2EConfig: e2eConfig,
ClusterctlConfigPath: clusterctlConfigPath,
BootstrapClusterProxy: bootstrapClusterProxy,
ArtifactFolder: artifactFolder,
SkipCleanup: skipCleanup,
}
})
})
})
1 change: 1 addition & 0 deletions test/e2e/config/azure-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,4 @@ intervals:
default/wait-job: ["5m", "10s"]
default/wait-service: ["5m", "10s"]
default/wait-machine-pool-nodes: ["30m", "10s"]
node-drain/wait-machine-deleted: [ "10m", "10s" ]

0 comments on commit 2f0094b

Please sign in to comment.