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

(bug) e2e test namespaces.bats - list when inactive - missing state switch #393

Open
jf-virtru opened this issue Sep 24, 2024 · 0 comments

Comments

@jf-virtru
Copy link

e2e test namespaces.bats - list when inactive - missing state switch

Running namespaces.bats results in failure of listing a deactivated namespace as the state switch is missing from the command line.

Current command line that results in the failure below (output is empty) : run_otdfctl_ns list --json
✗ List namespaces - when inactive
(in test file e2e/namespaces.bats, line 140)
`echo $output | jq --arg id "$NS_ID" '.[] | select(.[]? | type == "object" and .id == $id)'' failed with status 5
jq: error (at :1): Cannot iterate over null (null)

Command with needed state switch: run_otdfctl_ns list -s inactive --json
✓ List namespaces - when inactive

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

No branches or pull requests

1 participant