]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: test-cpu-limit - Increase ALLOW_MSECS_ABOVE further
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 11 Mar 2021 11:00:56 +0000 (13:00 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Tue, 16 Mar 2021 10:05:49 +0000 (10:05 +0000)
1500 was still not enough to prevent random failures.

src/lib/test-cpu-limit.c

index 029004b61f19c5b2fb494fb9f6dea72f68e064d9..2dc3fe813e8d455a9012ce1bc50387ef054ae2b7 100644 (file)
@@ -12,7 +12,7 @@
 /* The CPU limits aren't exact. Allow this much leniency in the time
    comparisons. */
 #define ALLOW_MSECS_BELOW 500
-#define ALLOW_MSECS_ABOVE 1500
+#define ALLOW_MSECS_ABOVE 3000
 
 static const char *const test_path = ".test.cpulimit";