Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x](backport #2986) [Go] Fix a flaky Kubernetes test setup #2992

Open
wants to merge 2 commits into
base: 8.x
Choose a base branch
from

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Feb 8, 2025

Summary of your changes

One of the k8s suite tests was flaky. In case a valid kubeconfig is present on the machine that runs the test, the suite will fail, getting the data from default kubeconfig path. As a solution, I set the KubeConfig path to something non-existent to ensure we get the expected result and true kubeconfig does not interfere.

Screenshot/Data

Screenshot 2025-02-04 at 10 19 49

The test failing before the fix; Please note an actual cluster name from my kubeconfig: production.

Related Issues

None, found randomly on my machine.


This is an automatic backport of pull request #2986 done by [Mergify](https://mergify.com).

@mergify mergify bot requested a review from a team as a code owner February 8, 2025 15:36
@mergify mergify bot added the backport label Feb 8, 2025
Copy link
Author

mergify bot commented Feb 10, 2025

This pull request has not been merged yet. Could you please review and merge it @kubasobon? 🙏

@kubasobon kubasobon enabled auto-merge (squash) February 13, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant