Skip to content

Commit

Permalink
test: Fixed termination test flake (#7449)
Browse files Browse the repository at this point in the history
  • Loading branch information
edibble21 authored Nov 26, 2024
1 parent d2b4751 commit 9087a16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/suites/termination/termination_grace_period_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ var _ = Describe("TerminationGracePeriod", func() {
return t.MatchTaint(&karpv1.DisruptedNoScheduleTaint)
})
g.Expect(ok).To(BeTrue())
}).WithTimeout(3 * time.Second).WithPolling(100 * time.Millisecond).Should(Succeed())
//Reduced polling time from 100 to 50 to mitigate flakes
//TODO Investigate root cause of timing sensitivity and restructure test
}).WithTimeout(3 * time.Second).WithPolling(50 * time.Millisecond).Should(Succeed())

// Check that pod remains healthy until termination grace period
// subtract the polling time of the eventually above to reduce any races.
Expand Down

0 comments on commit 9087a16

Please sign in to comment.