diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2017-01-29 02:27:24 -0500 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2017-02-13 21:44:08 -0500 |
commit | c0cdbf819cd76d977486b4634ea1b4ede2434413 (patch) | |
tree | 807912bb8b546b08378b88c2064a47b9cef7971c /tools/testing/radix-tree | |
parent | 3b7869c31f9358a63e502c8c5c7664daf1c6d8b0 (diff) | |
download | lwn-c0cdbf819cd76d977486b4634ea1b4ede2434413.tar.gz lwn-c0cdbf819cd76d977486b4634ea1b4ede2434413.zip |
radix tree test suite: Run iteration tests for longer
If the -l flag is set, run the tests for 100 seconds each instead of
the normal 10 seconds.
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Rehas Sachdeva <aquannie@gmail.com>
Diffstat (limited to 'tools/testing/radix-tree')
-rw-r--r-- | tools/testing/radix-tree/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/radix-tree/main.c b/tools/testing/radix-tree/main.c index 86de448b699e..b829127d5670 100644 --- a/tools/testing/radix-tree/main.c +++ b/tools/testing/radix-tree/main.c @@ -365,8 +365,8 @@ int main(int argc, char **argv) regression1_test(); regression2_test(); regression3_test(); - iteration_test(0, 10); - iteration_test(7, 20); + iteration_test(0, 10 + 90 * long_run); + iteration_test(7, 10 + 90 * long_run); single_thread_tests(long_run); /* Free any remaining preallocated nodes */ |