Skip to content

Commit

Permalink
test: use legacy taint logic for disruption
Browse files Browse the repository at this point in the history
  • Loading branch information
njtran committed Oct 23, 2023
1 parent 2b795f2 commit 8068f1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/suites/alpha/drift/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ var _ = Describe("Drift", Label("AWS"), func() {
}).Should(Succeed())

// Expect nodes To get cordoned
cordonedNodes := env.EventuallyExpectCordonedNodeCount("==", 1)
cordonedNodes := env.EventuallyExpectCordonedNodeCountLegacy("==", 1)

// Drift should fail and the original node should be uncordoned
// TODO: reduce timeouts when deprovisioning waits are factored out
Expand Down Expand Up @@ -435,7 +435,7 @@ var _ = Describe("Drift", Label("AWS"), func() {
}).Should(Succeed())

// Expect nodes To be cordoned
cordonedNodes := env.EventuallyExpectCordonedNodeCount("==", 1)
cordonedNodes := env.EventuallyExpectCordonedNodeCountLegacy("==", 1)

// Drift should fail and original node should be uncordoned
// TODO: reduce timeouts when deprovisioning waits are factored outr
Expand Down
4 changes: 2 additions & 2 deletions test/suites/alpha/expiration/expiration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ var _ = Describe("Expiration", func() {
}).Should(Succeed())

// Expect nodes To get cordoned
cordonedNodes := env.EventuallyExpectCordonedNodeCount("==", 1)
cordonedNodes := env.EventuallyExpectCordonedNodeCountLegacy("==", 1)

// Expire should fail and the original node should be uncordoned
// TODO: reduce timeouts when deprovisioning waits are factored out
Expand Down Expand Up @@ -306,7 +306,7 @@ var _ = Describe("Expiration", func() {
}).Should(Succeed())

// Expect nodes To be cordoned
cordonedNodes := env.EventuallyExpectCordonedNodeCount("==", 1)
cordonedNodes := env.EventuallyExpectCordonedNodeCountLegacy("==", 1)

// Expire should fail and original node should be uncordoned and no machines should be removed
// TODO: reduce timeouts when deprovisioning waits are factored out
Expand Down

0 comments on commit 8068f1f

Please sign in to comment.