Skip to content

Commit 51bcd24

Browse files
committed
Wait for third downstairs in test_repair as well
1 parent cc512f4 commit 51bcd24

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/test_repair.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,17 @@ while [[ $count -lt $loops ]]; do
213213
ds2_pid=$!
214214
fi
215215

216+
# Wait for it to start up
217+
sleep 10
218+
216219
cp "$verify_file" ${verify_file}.last
217220
echo "Verifying data now"
218221
echo ${ct} verify ${target_args} --verify-out "$verify_file" --verify-in "$verify_file" --range -q -g "$generation" > "$test_log"
219222
if ! ${ct} verify ${target_args} --verify-out "$verify_file" --verify-in "$verify_file" --range -q -g "$generation" >> "$test_log" 2>&1
220223
then
221224
echo "Exit on verify fail, loop: $count, choice: $choice"
222225
echo "Check $test_log for details"
223-
cleanup
226+
cleanup
224227
exit 1
225228
fi
226229
set +o errexit

0 commit comments

Comments
 (0)