Skip to content

Commit 7e1035c

Browse files
committed
test(e2e): bump wait_uptodate timeout 120s → 180s
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
1 parent 436669e commit 7e1035c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/e2e/lib.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ on_node() {
3030
kubectl -n "$NS" exec "$pod" -- "$@"
3131
}
3232

33-
# wait_uptodate POD waits up to 120s for both replicas of $RD to reach
33+
# wait_uptodate POD waits up to 180s for both replicas of $RD to reach
3434
# disk:UpToDate. Caller defines $RD and the two node names $PRIMARY,
35-
# $PEER before calling. Exits non-zero on timeout. Initial sync on
36-
# a fresh DRBD resource takes 30-60s on a busy stand; 120s is the
37-
# margin.
35+
# $PEER before calling. Exits non-zero on timeout. Initial sync on a
36+
# fresh DRBD resource on a busy QEMU stand can take 60-120s; 180s is
37+
# the safety margin.
3838
wait_uptodate() {
39-
local rd=$1 primary=$2 peer=$3 deadline=$(( $(date +%s) + 120 ))
39+
local rd=$1 primary=$2 peer=$3 deadline=$(( $(date +%s) + 180 ))
4040

4141
while (( $(date +%s) < deadline )); do
4242
local p1 p2

0 commit comments

Comments
 (0)