Skip to content

Commit

Permalink
upstream: Wait a bit longer for the multiplex master to become ready
Browse files Browse the repository at this point in the history
since on very slow hosts the current delay is not sufficient and the test
will fail.

OpenBSD-Regress-ID: 6d90c7475d67ac3a95610b64af700629ece51a48
  • Loading branch information
daztucker committed Jan 25, 2020
1 parent b2df804 commit 94a2e59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regress/multiplex.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $OpenBSD: multiplex.sh,v 1.30 2019/07/05 04:03:13 dtucker Exp $
# $OpenBSD: multiplex.sh,v 1.31 2020/01/25 00:27:56 dtucker Exp $
# Placed in the Public Domain.

make_tmpdir
Expand All @@ -18,7 +18,7 @@ P=3301 # test port

wait_for_mux_master_ready()
{
for i in 1 2 3 4 5; do
for i in 1 2 3 4 5 6 7 8 9; do
${SSH} -F $OBJ/ssh_config -S $CTL -Ocheck otherhost \
>/dev/null 2>&1 && return 0
sleep $i
Expand Down

0 comments on commit 94a2e59

Please sign in to comment.