summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-05-26 14:36:14 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2021-05-27 07:45:57 -0400
commitfb0f94794bb7558c078ce37b1a6e30d881fd7888 (patch)
tree0e71dd6aa18ed7b74971fb1185e3bc1187ac2562 /tools/testing
parentfb1070d18edb37daf3979662975bc54625a19953 (diff)
selftests: kvm: do only 1 memslot_perf_test run by default
The test takes a long time with the current implementation of memslots, so cut the run time a bit. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/kvm/memslot_perf_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/memslot_perf_test.c b/tools/testing/selftests/kvm/memslot_perf_test.c
index 4ae0e5ec0f74..11239652d805 100644
--- a/tools/testing/selftests/kvm/memslot_perf_test.c
+++ b/tools/testing/selftests/kvm/memslot_perf_test.c
@@ -992,7 +992,7 @@ int main(int argc, char *argv[])
.tlast = NTESTS - 1,
.nslots = -1,
.seconds = 5,
- .runs = 20,
+ .runs = 1,
};
struct test_result rbestslottime;
int tctr;