Skip to content

Commit

Permalink
Race when oc start-build starts right after oc new-app
Browse files Browse the repository at this point in the history
  • Loading branch information
hhorak authored and praiskup committed Feb 19, 2018
1 parent c61d8c7 commit 9f8edac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test-lib-openshift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@ function ct_os_test_s2i_app_func() {
${oc_args}
if [ -d "${app}" ] ; then
# in order to avoid weird race seen sometimes, let's wait shortly
# before starting the build explicitly
sleep 5
oc start-build "${service_name}" --from-dir="${app_param}"
fi
Expand Down

0 comments on commit 9f8edac

Please sign in to comment.