You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/cmd/get.sh
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,5 +37,11 @@ os::cmd::expect_success_and_not_text 'oc get users test-user-1' "customlabel=tru
37
37
# test structured and unstructured resources print generically without panic
38
38
os::cmd::expect_success_and_text 'oc get projectrequests -o yaml''status: Success'
39
39
os::cmd::expect_success_and_text 'oc get projectrequests,svc,pod -o yaml''kind: List'
40
+
# test --wacth does not result in an error when a resource list is served in multiple chunks
41
+
os::cmd::expect_success 'oc create cm cmone'
42
+
os::cmd::expect_success 'oc create cm cmtwo'
43
+
os::cmd::expect_success 'oc create cm cmthree'
44
+
os::cmd::expect_failure_and_not_text 'oc get configmap --chunk-size=1 --watch --request-timeout=1s''watch is only supported on individual resources'
45
+
os::cmd::expect_failure_and_not_text 'oc get configmap --chunk-size=1 --watch-only --request-timeout=1s''watch is only supported on individual resources'
0 commit comments