]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/store_test: add missing collection reopen 32852/head
authorIgor Fedotov <ifedotov@suse.com>
Wed, 8 Jul 2020 13:56:11 +0000 (16:56 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Thu, 9 Jul 2020 11:00:22 +0000 (14:00 +0300)
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
src/test/objectstore/store_test.cc

index 2ebd56c2625371b3654434fa153798e4b01654b9..b5ec4c307934773ce0f1bc0a12b49c3f467cea59 100644 (file)
@@ -8365,6 +8365,7 @@ TEST_P(StoreTest, SpuriousReadErrorTest) {
     EXPECT_EQ(store->umount(), 0);
     EXPECT_EQ(store->mount(), 0);
   }
+  ch = store->open_collection(cid);
 
   cerr << "Injecting CRC error with no retry, expecting EIO" << std::endl;
   SetVal(g_conf(), "bluestore_retry_disk_reads", "0");