Skip to content

e2e: allow skipping the tests that need admin credentials - #1059

Open
zunken1337 wants to merge 1 commit into
k-orc:mainfrom
zunken1337:kuttl-skip-admin
Open

zunken1337 wants to merge 1 commit into
k-orc:mainfrom
zunken1337:kuttl-skip-admin

Conversation

@zunken1337

Copy link
Copy Markdown
Contributor

Fixes #208

Tests which use the openstack-admin cloud get a 00-test-case.yaml whose testRunSelector excludes admin=false. E2E_KUTTL_SKIP_ADMIN=true adds admin=false to the test run labels from #1037, so a run without admin credentials skips them, and a run without labels still runs everything. The limit import tests select on both.

test/kuttl/admin_test.go fails make test if a test uses openstack-admin without the file. The scaffolding templates and the test docs mention it.

Checked on a cloud without admin credentials: with admin=false the admin tests are skipped and the others run.

🤖 Generated with Claude Code

Tests using the openstack-admin cloud get a kuttl TestCase that skips
them in test runs labelled admin=false (kuttl v0.28).
E2E_KUTTL_SKIP_ADMIN=true sets that label. A unit test checks that
every test using openstack-admin has the TestCase.

Fixes k-orc#208

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the semver:patch No API change label Nov 13, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:patch No API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should allow skipping tests that require admin credentials

1 participant