diff --git a/streaming/buildtest.sh b/streaming/buildtest.sh index 1e2ecc7..9dbd960 100755 --- a/streaming/buildtest.sh +++ b/streaming/buildtest.sh @@ -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 }