| ... | ... |
@@ -94,17 +94,6 @@ os::cmd::expect_success 'diff secret.data secret.file-in-file-out.decrypted' |
| 94 | 94 |
os::cmd::expect_success 'diff secret.data secret.file-in-pipe-out.decrypted' |
| 95 | 95 |
os::cmd::expect_success 'diff secret.data secret.pipe-in-pipe-out.decrypted' |
| 96 | 96 |
|
| 97 |
-os::cmd::expect_success 'oc create -f examples/hello-openshift/hello-pod.json' |
|
| 98 |
-# os::cmd::expect_success_and_text 'oadm manage-node --list-pods' 'hello-openshift' |
|
| 99 |
-# os::cmd::expect_success_and_text 'oadm manage-node --list-pods' '(unassigned|assigned)' |
|
| 100 |
-# os::cmd::expect_success_and_text 'oadm manage-node --evacuate --dry-run' 'hello-openshift' |
|
| 101 |
-# os::cmd::expect_success_and_text 'oadm manage-node --schedulable=false' 'SchedulingDisabled' |
|
| 102 |
-# os::cmd::expect_failure_and_text 'oadm manage-node --evacuate' 'Unable to evacuate' |
|
| 103 |
-# os::cmd::expect_success_and_text 'oadm manage-node --evacuate --force' 'hello-openshift' |
|
| 104 |
-# os::cmd::expect_success_and_text 'oadm manage-node --list-pods' 'hello-openshift' |
|
| 105 |
-os::cmd::expect_success 'oc delete pods hello-openshift' |
|
| 106 |
-echo "manage-node: ok" |
|
| 107 |
- |
|
| 108 | 97 |
os::cmd::expect_success 'oadm groups new group1 foo bar' |
| 109 | 98 |
os::cmd::expect_success_and_text 'oc get groups/group1 --no-headers' 'foo, bar' |
| 110 | 99 |
os::cmd::expect_success 'oadm groups add-users group1 baz' |
| ... | ... |
@@ -106,12 +106,6 @@ os::cmd::expect_success_and_text 'openshift help start master' 'Start a master' |
| 106 | 106 |
os::cmd::expect_success_and_text 'openshift help start node' 'Start a node' |
| 107 | 107 |
os::cmd::expect_success_and_text 'oc help project' 'Switch to another project' |
| 108 | 108 |
os::cmd::expect_success_and_text 'oc help projects' 'Switch to another project' |
| 109 |
-# TODO: fix these tests |
|
| 110 |
-# os::cmd::expect_success_and_text 'openshift cli help update' 'Update a resource' |
|
| 111 |
-# os::cmd::expect_success_and_text 'openshift cli help replace' 'Replace a resource' |
|
| 112 |
-# os::cmd::expect_success_and_text 'openshift cli help patch' 'Update field\(s\) of a resource' |
|
| 113 |
-# os::cmd::expect_success_and_text 'openshift cli help project' 'Switch to another project' |
|
| 114 |
-# os::cmd::expect_success_and_text 'openshift cli help projects' 'Switch to another project' |
|
| 115 | 109 |
|
| 116 | 110 |
# runnable commands with required flags must error consistently |
| 117 | 111 |
os::cmd::expect_failure_and_text 'oc get' 'Required resource not specified' |