Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.2] Fix db modes test #507

Merged
merged 8 commits into from
Jun 23, 2022
7 changes: 6 additions & 1 deletion tests/db_modes_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ run_expect_success() {
local NODEOS_PID=$!
sleep 10
kill $NODEOS_PID
wait $NODEOS_PID
rc=0
wait $NODEOS_PID && rc=$? || rc=$?
if [[ $rc -eq 127 || $rc -eq $NODEOS_PID ]]; then
rc=0
fi
return $rc
}

run_and_kill() {
Expand Down