summaryrefslogtreecommitdiff
path: root/tests/27-sim-bpf_blk_state.tests
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2021-01-06 10:28:01 -0500
committerPaul Moore <paul@paul-moore.com>2021-01-14 09:54:41 -0500
commit5878cf2383ccedca3536f47155b13145809ae08e (patch)
treead1f33cc979dc7286cb2f342008b9e8fc9c64e5f /tests/27-sim-bpf_blk_state.tests
parent2380f5788c692796f75e464c61aa877e5c4eb882 (diff)
downloadlibseccomp-5878cf2383ccedca3536f47155b13145809ae08e.tar.gz
tests: limit the number of bpf-sim-fuzz test iterations
The bpf-sim-fuzz test type was always intended to be a fuzzer for the generated BPF filters but the current implementation fuzzes the simulator more than the filter itself. Due to this, let's bump down the bpf-sim-fuzz iterations from 50 to 5, this is what we currently do on Travis CI and it seems to be okay. This change drops the number of tests by 1800 and the runtime from 4m7s to 3m35s on my test system running eight parallel jobs. Reviewed-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tests/27-sim-bpf_blk_state.tests')
-rw-r--r--tests/27-sim-bpf_blk_state.tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/27-sim-bpf_blk_state.tests b/tests/27-sim-bpf_blk_state.tests
index cd1da6e..b987fff 100644
--- a/tests/27-sim-bpf_blk_state.tests
+++ b/tests/27-sim-bpf_blk_state.tests
@@ -16,7 +16,7 @@ test type: bpf-sim
test type: bpf-sim-fuzz
# Testname StressCount
-27-sim-bpf_blk_state 50
+27-sim-bpf_blk_state 5
test type: bpf-valgrind