Skip to content

Commit

Permalink
revert change with always wait and only wait in pulsar manager test f…
Browse files Browse the repository at this point in the history
…or job to complete
  • Loading branch information
martin committed Feb 14, 2024
1 parent 24d1a0f commit c139660
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .ci/helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,11 @@ function ci::install_pulsar_chart() {
--timeout=90s
# configure metallb
${KUBECTL} apply -f ${BINDIR}/metallb/metallb-config.yaml
install_args=""
else
install_args="--wait --wait-for-jobs --timeout 300s --debug"
fi

install_args="--wait --wait-for-jobs --timeout 300s --debug"

CHART_ARGS=""
if [[ "${PULSAR_CHART_VERSION}" == "local" ]]; then
set -x
Expand Down Expand Up @@ -352,6 +353,10 @@ function ci::test_pulsar_function() {

function ci::test_pulsar_manager() {
echo "Testing pulsar manager"

until ${KUBECTL} get jobs -n ${NAMESPACE} ${CLUSTER}-pulsar-manager-init -o json | jq -r '.status.conditions[] | select (.type | test("Complete")).status' | grep True; do sleep 3; done


echo "Checking Podname"
podname=$(${KUBECTL} get pods -n ${NAMESPACE} -l component=pulsar-manager --no-headers -o custom-columns=":metadata.name")
echo "Getting pulsar manager UI password"
Expand Down

0 comments on commit c139660

Please sign in to comment.