Skip to content

Commit

Permalink
check python test exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
ashione committed Apr 21, 2024
1 parent 6b26ccd commit 349f569
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion streaming/buildtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ function test_streaming_python()
#python3 -m pytest $script_dir/python/raystreaming/tests/simple --capture=no
bazel build java:streaming_java_pkg
python3 -m pytest "$script_dir"/python/raystreaming/tests/ > "$TMP_LOG_OUTPUT"/python-test/python-test.log 2>&1
exit_code=$?
echo "Uploding output to remote file."
zip_and_upload_log "$TMP_LOG_OUTPUT"/python-test/ "${script_dir}/${ZIP_FILE}" "/${GITHUB_SHA}/${TIME}/${ZIP_FILE}"
exit $?
exit $exit_code

popd || exit
}
Expand Down

0 comments on commit 349f569

Please sign in to comment.