Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
welpaolo committed Aug 14, 2024
1 parent 7bd83b8 commit 37434f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37434f1

Please sign in to comment.