Skip to content

Conversation

@ardaguclu
Copy link
Member

Relying on KUBECONFIG env variable causes issues in cases where env var is statically set by the environments. So that default namespace is modified to something different than default with less permissions. That causes failures of the tests.

Additionally, all namespaces tests are broken in CI environments that the given temporary namespace can't access to query the all namespaces in the cluster.

This PR skips these tests.

As proven in here openshift#24, after the changes in here, test passes.

… OCP

Relying on KUBECONFIG env variable causes issues in cases where env var
is statically set by the environments. So that default namespace is modified
to something different than default with less permissions. That causes failures
of the tests.

Additionally, all namespaces tests are broken in CI environments that the
given temporary namespace can't access to query the all namespaces in the cluster.

This commit skips these tests.

Signed-off-by: Arda Güçlü <[email protected]>
@ardaguclu ardaguclu force-pushed the fix-ocp-unit-test-failures branch from 5f80a54 to 0f0946f Compare August 25, 2025 08:38
@ardaguclu
Copy link
Member Author

/cc @manusa
for when you have a chance to look at.

@ardaguclu
Copy link
Member Author

Fixes #273

@ardaguclu
Copy link
Member Author

@manusa has found a better solution. Closing this one

@ardaguclu ardaguclu closed this Aug 26, 2025
@ardaguclu ardaguclu deleted the fix-ocp-unit-test-failures branch August 26, 2025 12:47
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