aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/Skip-randomized-tests.patch
blob: 12090e57666b331ab56d3ccef542896a5d40b03f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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/interimap.list | 8 --------
 tests/pullimap.list  | 2 --
 2 files changed, 10 deletions(-)

diff --git a/tests/interimap.list b/tests/interimap.list
index 559daed..61cb37f 100644
--- a/tests/interimap.list
+++ b/tests/interimap.list
@@ -41,8 +41,6 @@ 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
 
 . SSL/TLS
     starttls-logindisabled  LOGINDISABLED STARTTLS
@@ -55,9 +53,3 @@ split-set   Split large sets to avoid extra-long command lines
     tls-sni                 TLS servername extension (SNI)
     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)
diff --git a/tests/pullimap.list b/tests/pullimap.list
index f4304b9..e69de29 100644
--- a/tests/pullimap.list
+++ b/tests/pullimap.list
@@ -1,2 +0,0 @@
-. pullimap
-    ... pullimap