]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/test/seastore/test_btree_lba_manager: shorten tests a bit
authorSamuel Just <sjust@redhat.com>
Mon, 25 Oct 2021 05:39:49 +0000 (22:39 -0700)
committerSamuel Just <sjust@redhat.com>
Mon, 25 Oct 2021 19:59:36 +0000 (19:59 +0000)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/test/crimson/seastore/test_btree_lba_manager.cc

index f3e34e6f0c4a4b257639c2aaa0c7fa43fe32e026..34f0cd7c8d3ea952d52693134f3273f4617425ca 100644 (file)
@@ -573,7 +573,7 @@ TEST_F(btree_lba_manager_test, single_transaction_split_merge)
   run_async([this] {
     {
       auto t = create_transaction();
-      for (unsigned i = 0; i < 600; ++i) {
+      for (unsigned i = 0; i < 400; ++i) {
        alloc_mapping(t, 0, block_size, get_paddr());
       }
       check_mappings(t);
@@ -614,7 +614,7 @@ TEST_F(btree_lba_manager_test, split_merge_multi)
 {
   run_async([this] {
     auto iterate = [&](auto f) {
-      for (uint64_t i = 0; i < (1<<12); ++i) {
+      for (uint64_t i = 0; i < (1<<10); ++i) {
        auto t = create_transaction(false);
        logger().debug("opened transaction");
        for (unsigned j = 0; j < 5; ++j) {