]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_rados_api_tmap_migrate: remove test for tmap_upgrade 10234/head
authorKefu Chai <kchai@redhat.com>
Mon, 11 Jul 2016 03:29:05 +0000 (11:29 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 11 Jul 2016 03:30:38 +0000 (11:30 +0800)
the tested feature was removed in ad6cc41

> tmap_upgrade was only for Jewel, so remove it for Kraken.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/librados/tmap_migrate.cc

index 98be69a1128f22937715b2bc38363b423709e772..7231984136de978381efa80ecccdf51c86a57bed 100644 (file)
@@ -44,12 +44,6 @@ TEST_F(TmapMigratePP, DataScan) {
   omap_kvs.insert({"tasty", omap_val});
   ASSERT_EQ(0, ioctx.omap_set("10000000001.00000000", omap_kvs));
 
-  DataScan ds;
-  ASSERT_EQ(0, ds.init());
-  int r = ds.main({"tmap_upgrade", pool_name.c_str()});
-  ASSERT_EQ(r, 0);
-  ds.shutdown();
-
   // Check that the TMAP object is now an omap object
   std::map<std::string, bufferlist> read_vals;
   ASSERT_EQ(0, ioctx.omap_get_vals("10000000000.00000000", "", 1, &read_vals));