selftests: kvm: do only 1 memslot_perf_test run by default
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 May 2021 18:36:14 +0000 (14:36 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 May 2021 11:45:57 +0000 (07:45 -0400)
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>
tools/testing/selftests/kvm/memslot_perf_test.c

index 4ae0e5e..1123965 100644 (file)
@@ -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;