Skip to content

Commit 870f534

Browse files
author
Moritz Clasmeier
committed
New roxctl test: verifying that --openshift-version=3 fails
1 parent ec51c26 commit 870f534

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/roxctl/bats-tests/cluster/sensor-generate-bundle.bats

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,9 @@ run_generate_and_get_bundle_test() {
4949
generate_bundle k8s
5050
assert_failure
5151
}
52+
53+
@test "[openshift3] roxctl sensor generate rejects unsupported openshift version" {
54+
run_generate_and_get_bundle_test openshift "oc3-test-cluster" --openshift-version 3
55+
assert_failure
56+
assert_output --partial "only '4' is currently supported"
57+
}

0 commit comments

Comments
 (0)