Skip to content

Commit 27a07a0

Browse files
author
OpenShift Bot
authored
Merge pull request #13052 from bparees/e2e_build_log
Merged by openshift-bot
2 parents b3d7395 + 95c5a10 commit 27a07a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/end-to-end/core.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ os::cmd::try_until_text "oc get builds --namespace test -o jsonpath='{.items[0].
420420
BUILD_ID="$( oc get builds --namespace test -o jsonpath='{.items[0].metadata.name}' )"
421421
# Ensure that the build pod doesn't allow exec
422422
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 ))"
425425
wait_for_app "test"
426426

427427
# logs can't be tested without a node, so has to be in e2e

0 commit comments

Comments
 (0)