]> sourceware.org Git - lvm2.git/commitdiff
unit-test/bcache_t: test was using too large a block size
authorJoe Thornber <ejt@redhat.com>
Tue, 1 May 2018 13:17:12 +0000 (14:17 +0100)
committerJoe Thornber <ejt@redhat.com>
Tue, 1 May 2018 13:17:12 +0000 (14:17 +0100)
test/unit/bcache_t.c

index bb1db29d8e758527502cf2dbb6562f6dd8b2a59e..b0e2dd28ecb1c4293e2db6f3cec4057181362e90 100644 (file)
@@ -412,7 +412,7 @@ static void test_block_size_must_be_multiple_of_page_size(void *fixture)
        for (i = 0; i < DM_ARRAY_SIZE(_bad_examples); i++)
                bad_create(_bad_examples[i], 16);
 
-       for (i = 1; i < 1000; i++)
+       for (i = 1; i < 100; i++)
                good_create(i * 8, 16);
 }
 
This page took 0.034091 seconds and 5 git commands to generate.