]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/store_test: add missing collection reopen 36795/head
authorIgor Fedotov <ifedotov@suse.com>
Wed, 8 Jul 2020 13:56:11 +0000 (16:56 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 24 Aug 2020 18:44:13 +0000 (21:44 +0300)
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit aede2d557ab06e21fcb5b56a75cb8fbacd35a4e0)

src/test/objectstore/store_test.cc

index 42141116d2b70b0a9ece8e1bab85089c2f1e10d3..3e89141b8c1330fd7438ebf34386713727a0a70b 100644 (file)
@@ -7833,6 +7833,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");