Skip to content

Commit

Permalink
selftests/powerpc: Reduce sigfuz runtime to ~60s
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
mpe committed Oct 24, 2019
1 parent bbc6089 commit 4f5c5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/powerpc/signal/sigfuz.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 4f5c5b7

Please sign in to comment.