Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

fix db_modes_test pipeline fails, see epe889 #10237

Merged
merged 3 commits into from
Apr 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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=$?
jgiszczak marked this conversation as resolved.
Show resolved Hide resolved
if [[ rc -eq 127 || rc -eq 0 ]]; then
rc=0
fi
return $rc
}

run_and_kill() {
Expand Down