Skip to content

Commit

Permalink
WT-8360 Remove WT_TEST output file when test finishes in recovery-tes…
Browse files Browse the repository at this point in the history
…t script (#7262)

* Remove WT_TEST output from recovery script when test finished

* Added comment on why it is safe to clean the directories

* Tail the output of the  failing parrallel test
  • Loading branch information
jiechenbo committed Dec 3, 2021
1 parent 646ef5b commit bb0e1e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/checkpoint/recovery-test.sh
Expand Up @@ -40,4 +40,7 @@ while kill -STOP $pid ; do
./t -t r -D -v -h $recovery || exit 1
done

# Clean the home directory once the test is completed. Note that once we fail to send the signal to
# stop the test, it means that it is completed.
rm -rf $home $home.out
exit 0
1 change: 1 addition & 0 deletions tools/run_parallel.sh
Expand Up @@ -60,6 +60,7 @@ for i in $(seq $num_iter); do
if [[ $err -ne 0 ]]
then
echo "iteration $i of parallel command $t failed with $err error code"
tail -n 100 nohup.out.$t
exit $err
fi
done
Expand Down

0 comments on commit bb0e1e8

Please sign in to comment.