selftests/powerpc: Reduce sigfuz runtime to ~60s
authorMichael Ellerman <mpe@ellerman.id.au>
Sun, 13 Oct 2019 23:26:34 +0000 (10:26 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Oct 2019 05:57:37 +0000 (16:57 +1100)
The defaults for the sigfuz test is to run for 4000 iterations, but
that can take quite a while and the test harness may kill the test.
Reduce the number of iterations to 600, which gives a runtime of
roughly 1 minute on a Power8 system.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191013234643.3430-1-mpe@ellerman.id.au
tools/testing/selftests/powerpc/signal/sigfuz.c

index dade00c698c285cafde514d70e848ae56b3f5afa..08f9afe3b95c4c524596ce4e4a2deed21b2293e6 100644 (file)
@@ -42,7 +42,7 @@
 #include "utils.h"
 
 /* Selftest defaults */
-#define COUNT_MAX      4000            /* Number of interactions */
+#define COUNT_MAX      600             /* Number of interactions */
 #define THREADS                16              /* Number of threads */
 
 /* Arguments options */