aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-12-15 03:35:51 +0100
committerGuilhem Moulin <guilhem@fripost.org>2019-12-15 03:35:51 +0100
commita7517e35cf0c835fcb68db56d8634fab9b4d5f0d (patch)
treee7ec15d24b5ac49420c8f0e360a3c1b362629549 /tests
parent185e9458dc836f3ef4052c9dcb5a76c07a212589 (diff)
tests/*/t: Increase timeout from 2 to 5s after background syncs.
Diffstat (limited to 'tests')
-rw-r--r--tests/condstore/t2
-rw-r--r--tests/pullimap/t2
-rw-r--r--tests/sync-live-multi/t2
-rw-r--r--tests/sync-live/t2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/condstore/t b/tests/condstore/t
index d4da50f..1963b2b 100644
--- a/tests/condstore/t
+++ b/tests/condstore/t
@@ -31,7 +31,7 @@ while [ $(date +%s) -le $timer ]; do
doveadm -u "$u" flags "$a" "$f" mailbox "INBOX" "${seqs//$'\n'/,}"
sleep "0.0$(shuf -n1 -i10-99)" # 10 to 99ms
done
-sleep 2
+sleep 5
ptree_abort $PID
trap - EXIT INT TERM
diff --git a/tests/pullimap/t b/tests/pullimap/t
index 79da3e0..115432d 100644
--- a/tests/pullimap/t
+++ b/tests/pullimap/t
@@ -123,7 +123,7 @@ while [ $(date +%s) -le $timer ]; do
sleep "$s"
done
-sleep 2
+sleep 5
ptree_abort $PID
trap - EXIT INT TERM
diff --git a/tests/sync-live-multi/t b/tests/sync-live-multi/t
index 9b129ec..ba7f326 100644
--- a/tests/sync-live-multi/t
+++ b/tests/sync-live-multi/t
@@ -96,7 +96,7 @@ done
# wait a little longer so interimap has time to run loop() again and
# synchronize outstanding changes, then terminate the processes we
# started above
-sleep 2
+sleep 5
ptree_abort ${PID[@]}
trap - EXIT INT TERM
diff --git a/tests/sync-live/t b/tests/sync-live/t
index 19d1e08..5f5b291 100644
--- a/tests/sync-live/t
+++ b/tests/sync-live/t
@@ -65,7 +65,7 @@ done
# wait a little longer so interimap has time to run loop() again and
# synchronize outstanding changes, then terminate the process we started
# above
-sleep 2
+sleep 5
ptree_abort $PID
trap - EXIT INT TERM