diff options
Diffstat (limited to 'debian/patches/Skip-randomized-tests.patch')
-rw-r--r-- | debian/patches/Skip-randomized-tests.patch | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/debian/patches/Skip-randomized-tests.patch b/debian/patches/Skip-randomized-tests.patch new file mode 100644 index 0000000..14b4ba0 --- /dev/null +++ b/debian/patches/Skip-randomized-tests.patch @@ -0,0 +1,58 @@ +From: Guilhem Moulin <guilhem@debian.org> +Date: Wed, 29 Jan 2020 13:49:10 +0100 +Subject: Avoid running randomized tests on the build daemons + +These tests are racy and can fail in subtle ways depending on the +machine load and speed. Basically `interimap --watch=1` is spawnedin +the background, then random events (new messages, deletions, flag +changes, etc.) are sent for for one minute, and the background process +is later terminated and the mail stores compared. The problem is how to +stop the background process after the loop. What's done right now is it +waits for 5 seconds and sends a SIGTERM; unfortunately $n sec is +arbitrary and might not be enough, depending on the machine and load. +Ideally a SIGUSR1 would cause it to continue until a clean state is +reached, then stop. + +These tests most sense in the context of upstream development, so for +now we skip them in the Debian context. + +Forwarded: not-needed +--- + tests/list | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/tests/list b/tests/list +index d1058ba..d6b3ec0 100644 +--- a/tests/list ++++ b/tests/list +@@ -41,8 +41,8 @@ repair --repair + preauth-plaintext abort on MiTM via PREAUTH greeting + + compress COMPRESS=DEFLATE +-condstore CONDSTORE +-split-set Split large sets to avoid extra-long command lines ++#condstore CONDSTORE ++#split-set Split large sets to avoid extra-long command lines + + . SSL/TLS + starttls-logindisabled LOGINDISABLED STARTTLS +@@ -56,11 +56,11 @@ split-set Split large sets to avoid extra-long command lines + tls-protocols force TLS protocol versions + tls-ciphers force TLS cipher list/suites + +-. Live synchronization (60s) +- sync-live local/remote simulation +- sync-live-crippled local/remote simulation (crippled remote) +- sync-live-tls local/remote simulation (TLS remote) +- sync-live-multi local/remote1+remote2+remote3 simulation (3 local namespaces) +- +-. pullimap +- ... pullimap ++#. Live synchronization (60s) ++# sync-live local/remote simulation ++# sync-live-crippled local/remote simulation (crippled remote) ++# sync-live-tls local/remote simulation (TLS remote) ++# sync-live-multi local/remote1+remote2+remote3 simulation (3 local namespaces) ++# ++#. pullimap ++# ... pullimap |