Skip to content

Conversation

weyfonk
Copy link
Contributor

@weyfonk weyfonk commented Nov 13, 2024

Sharding end-to-end tests exhibited flakiness, caused by the git job pod
not being present in the cluster by the time checks were run to validate
its node selector against that of the relevant shard.

To prevent this, tests on the node selector are now run first, which
incidentally also prevents Eventually from running more loops waiting
for a config map to be deployed.

This should make failures to find failing jobs easier to troubleshoot.
This adds expectations on existing pods and clearer error messages to
ease troubleshooting in case of failing of flaky tests.
Sharding end-to-end tests exhibited flakiness, caused by the git job pod
not being present in the cluster by the time checks were run to validate
its node selector against that of the relevant shard.

To prevent this, tests on the node selector are now run first, which
incidentally also prevents `Eventually` from running more times awaiting
a config map to be deployed.
@weyfonk weyfonk requested a review from a team as a code owner November 13, 2024 16:22
@weyfonk weyfonk merged commit 6f50d7d into rancher:main Nov 14, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants