Skip to content

Commit

Permalink
Merge branch 'master' into manifest-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
awels authored Jan 11, 2019
2 parents 0e24579 + 75a5821 commit bd57cdc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set -ex
export WORKSPACE="${WORKSPACE:-$PWD}"
readonly ARTIFACTS_PATH="exported-artifacts"

mkdir -p "$ARTIFACTS_PATH"
mkdir -p "${WORKSPACE}/${ARTIFACTS_PATH}"

if [[ $TARGET =~ openshift-.* ]]; then
export KUBEVIRT_PROVIDER="os-3.11.0"
Expand All @@ -48,7 +48,7 @@ make cluster-up
set +e
kubectl_rc=0
retry_counter=0
while [ $retry_counter -lt 30 ] && [ $kubectl_rc -ne 0 || -n "$(kubectl get nodes --no-headers | grep NotReady)" ]; do
while [[ $retry_counter -lt 30 ]] && [[ $kubectl_rc -ne 0 || -n "$(kubectl get nodes --no-headers | grep NotReady)" ]]; do
echo "Waiting for all nodes to become ready ..."
kubectl get nodes --no-headers
kubectl_rc=$?
Expand All @@ -57,7 +57,7 @@ while [ $retry_counter -lt 30 ] && [ $kubectl_rc -ne 0 || -n "$(kubectl get node
done
set -e

if [ $retry_counter eq 30 ]; then
if [ $retry_counter -eq 30 ]; then
echo "Not all nodes are up"
exit 1
fi
Expand All @@ -69,7 +69,7 @@ make cluster-sync

kubectl version

ginko_params="--test-args=--ginkgo.noColor --junit-output=exported-artifacts/tests.junit.xml"
ginko_params="--test-args=--ginkgo.noColor --junit-output=${WORKSPACE}/exported-artifacts/tests.junit.xml"

# Run functional tests
TEST_ARGS=$ginko_params make test-functional-ci

0 comments on commit bd57cdc

Please sign in to comment.