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

enhancement(tests): Create affinity pod in separate namespace for k8s tests #7831

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

StephenWakely
Copy link
Contributor

As noted in #7798 there is the potential for flakiness in tests.

Some tests create a pod purely for the purpose of other tests to have affinity to to ensure they are all deployed on the same node. However these tests also scan the logs for any pods in a given namespace to test various things. If the affinity pod is created in this namespace there is the potential for any logs they create to interfere with the tests.

This PR creates these affinity pods in a separate namespace so they don't have the risk of getting in the way.

Signed-off-by: Stephen Wakely fungus.humungus@gmail.com

@StephenWakely StephenWakely requested review from a team, JeanMertz and spencergilbert June 10, 2021 22:10
@StephenWakely StephenWakely added ci-condition: k8s e2e all targets Run Kubernetes E2E test suite for all targets (instead of just the essential subset) ci-condition: k8s e2e tests enable Run Kubernetes E2E test suite for this PR labels Jun 10, 2021
@StephenWakely StephenWakely changed the title enchancement(tests): Create affinity pod in separate namespace for k8s tests enhancement(tests): Create affinity pod in separate namespace for k8s tests Jun 10, 2021
Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-condition: k8s e2e all targets Run Kubernetes E2E test suite for all targets (instead of just the essential subset) ci-condition: k8s e2e tests enable Run Kubernetes E2E test suite for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants