diff --git a/tests/integration/integration-tests.sh b/tests/integration/integration-tests.sh index 7a731a4b..6d88aac4 100755 --- a/tests/integration/integration-tests.sh +++ b/tests/integration/integration-tests.sh @@ -491,7 +491,7 @@ run_spark_shell_in_pod() { echo -e "$(kubectl -n $NAMESPACE exec testpod -- env UU="$USERNAME" NN="$NAMESPACE" CMDS="$SPARK_SHELL_COMMANDS" IM="$(spark_image)" /bin/bash -c 'echo "$CMDS" | spark-client.spark-shell --username $UU --namespace $NN --conf spark.kubernetes.container.image=$IM')" > spark-shell.out cat spark-shell.out echo "-------------------------------------------------" - pi=$(cat spark-shell.out | grep "^Pi is roughly" | rev | cut -d' ' -f1 | rev | cut -c 1-3) + pi=$(cat spark-shell.out | grep "Pi is roughly 3" | rev | cut -d' ' -f1 | rev | cut -c 1-3) echo -e "Spark-shell Pi Job Output: \n ${pi}" rm spark-shell.out validate_pi_value $pi