Skip to content

Commit

Permalink
Merge pull request #507 from eosnetworkfoundation/fix_db_modes_test
Browse files Browse the repository at this point in the history
Fix db modes test
  • Loading branch information
linh2931 authored Jun 23, 2022
2 parents ba7f603 + 1e528a8 commit 98937fc
Showing 1 changed file with 6 additions and 1 deletion.
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

0 comments on commit 98937fc

Please sign in to comment.