Skip to content

Conversation

@ericpromislow
Copy link
Contributor

@ericpromislow ericpromislow commented Nov 25, 2025

See #52864

Try to fix a flaky CI test

The problem is that these integration tests depend on a field (spec.clusterName or spec.displayName)
getting copied from mcio.projects to either _v1_secret or _v1_namespace. It seems that sometimes
there's a delay between when the project is created and when accessing it pulls down the full value.
This makes sense -- much of kubernetes is async and distributed. So we wait a bit.

@ericpromislow ericpromislow requested a review from a team as a code owner November 25, 2025 18:35
@ericpromislow ericpromislow marked this pull request as draft November 25, 2025 18:35
There seems to be a bit of a delay between when a project is
created and when these values exist. This is more likely to
show up in CI than locally, sure sounds like a timing issue.

Final cleanup
@ericpromislow ericpromislow force-pushed the 52864-fix-flaky-integration-test branch from bfbb6d5 to bceb235 Compare November 25, 2025 19:53
@ericpromislow ericpromislow marked this pull request as ready for review November 25, 2025 19:58
Comment on lines 555 to 556
// note that we don't return the error since that would stop the polling
return false, err
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aren't we?

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