mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
[Streaming ]print streaming error when tests fail (#8594)
This commit is contained in:
parent
79a4eac48c
commit
8da00af74e
1 changed files with 17 additions and 0 deletions
|
@ -37,6 +37,23 @@ fi
|
|||
|
||||
# exit_code == 2 means there are skipped tests.
|
||||
if [ $exit_code -ne 2 ] && [ $exit_code -ne 0 ] ; then
|
||||
if [ -d "/tmp/ray_streaming_java_test_output/" ] ; then
|
||||
echo "all test output"
|
||||
for f in /tmp/ray_streaming_java_test_output/*; do
|
||||
if [ -f "$f" ]; then
|
||||
echo "Cat file $f"
|
||||
cat "$f"
|
||||
elif [[ -d $f ]]; then
|
||||
echo "$f is a directory"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
for f in /home/travis/build/ray-project/ray/hs_err*log; do
|
||||
if [ -f "$f" ]; then
|
||||
echo "Cat file $f"
|
||||
cat "$f"
|
||||
fi
|
||||
done
|
||||
exit $exit_code
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue