File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -420,8 +420,8 @@ os::cmd::try_until_text "oc get builds --namespace test -o jsonpath='{.items[0].
420
420
BUILD_ID=" $( oc get builds --namespace test -o jsonpath=' {.items[0].metadata.name}' ) "
421
421
# Ensure that the build pod doesn't allow exec
422
422
os::cmd::expect_failure_and_text " oc rsh ${BUILD_ID} -build" ' forbidden'
423
- os::cmd::try_until_text " oc get builds --namespace test -o jsonpath='{.items[0].status.phase}' " " Complete " " $(( 10 * TIME_MIN )) "
424
- os::cmd::expect_success " oc logs build/ ${BUILD_ID} --namespace test > ' ${LOG_DIR} /test-build.log' "
423
+ os::cmd::expect_success " oc logs build/ ${BUILD_ID} --namespace test -f > ' ${LOG_DIR} /test-build.log' "
424
+ os::cmd::try_until_text " oc get builds --namespace test -o jsonpath='{.items[0].status.phase}' " " Complete " " $(( 1 * TIME_MIN )) "
425
425
wait_for_app " test"
426
426
427
427
# logs can't be tested without a node, so has to be in e2e
You can’t perform that action at this time.
0 commit comments