Skip to content

Commit

Permalink
test: fix termination test flake (aws#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
njtran authored Oct 6, 2023
1 parent 8e6687e commit c32a652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/termination/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,10 @@ var _ = Describe("Termination", func() {
node = ExpectNodeExists(ctx, env.Client, node.Name)
ExpectReconcileSucceeded(ctx, terminationController, client.ObjectKeyFromObject(node))
ExpectReconcileSucceeded(ctx, queue, client.ObjectKey{})
ExpectEvicted(env.Client, podNodeCritical)
ExpectDeleted(ctx, env.Client, podNodeCritical)
ExpectReconcileSucceeded(ctx, queue, client.ObjectKey{})
ExpectEvicted(env.Client, podNodeCritical)
ExpectEvicted(env.Client, podClusterCritical)
ExpectDeleted(ctx, env.Client, podNodeCritical)
ExpectDeleted(ctx, env.Client, podClusterCritical)

// Reconcile to delete node
Expand Down

0 comments on commit c32a652

Please sign in to comment.