Skip to content

Commit cc512f4

Browse files
committed
Wait for third Downstairs to start before verifying
1 parent 8e21369 commit cc512f4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/test_up.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,13 @@ if ! "$dsc" cmd start -c 2; then
289289
echo "Failed repair test part 1, starting downstairs 2" >> "$fail_log"
290290
echo
291291
fi
292+
state=$("$dsc" cmd state -c 2)
293+
while [[ "$state" != "Running" ]]; do
294+
echo "downstairs 2 not restarted yet, waiting"
295+
sleep 5
296+
state=$("$dsc" cmd state -c 2)
297+
done
298+
echo "Downstairs 2 restarted"
292299

293300
# Put a dump test in the middle of the repair test, so we
294301
# can see both a mismatch and that dump works.

0 commit comments

Comments
 (0)