Skip to content

Commit

Permalink
tests: use exitcode of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
murlock authored and fvennetier committed Apr 18, 2018
1 parent 50da4a5 commit a529c3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/functional/run_ns_wide_versioning_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ sleep 1
PID=$(jobs -p)

bash tests/functional/ns_wide_versioning_tests.sh "$OIO_NS" "$OIO_ACCOUNT"
RET=$?

for pid in $PID; do
kill $pid
wait $pid
done

# TODO(FVE): gridinit_cmd stop
exit $RET
3 changes: 3 additions & 0 deletions tests/functional/run_s3_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function configure_oioswift() {


export OIO_NS="OPENIO" OIO_ACCOUNT="test_account" OIO_USER=USER-$RANDOM OIO_PATH=PATH-$RANDOM

install_deps
compile_sds
run_sds
Expand All @@ -45,10 +46,12 @@ sleep 1
PID=$(jobs -p)

bash tests/functional/s3_container_hierarchy_v2.sh
RET=$?

for pid in $PID; do
kill $pid
wait $pid
done

# TODO(FVE): gridinit_cmd stop
exit $RET

0 comments on commit a529c3d

Please sign in to comment.