Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CA: fix flakiness in actuation.TestStartDeletion
Part of the test verifies if all taint updates happened as expected. The taints are verified asynchronously, and the test waits for exactly as many taint updates as defined in the test case. A couple of test cases were missing some expected updates (clearing the taint if drain/deletion fails). The test could randomly fail if one of the missing updates happened to apear before one of the expected updates. This commit adds the missing expected updates, all should be accounted for now. This commit also adds a sync point to wait for all expected node deletion results before asserting them. Without it, the test would sometimes move to the assertion before the results were actually reported.
- Loading branch information