]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_rados_api_snapshots_pp: drop unnecessary assert
authorSage Weil <sage@redhat.com>
Wed, 26 Jun 2019 20:06:14 +0000 (15:06 -0500)
committerSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 13:37:51 +0000 (08:37 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/librados/snapshots_cxx.cc

index 032e96a255636eda053b2d449ad967e78e20ed7b..dee17ddb8d7a3d4abefab0957121bbef140ca5c4 100644 (file)
@@ -457,7 +457,6 @@ TEST_F(LibRadosSnapshotsSelfManagedPP, OrderSnap) {
 TEST_F(LibRadosSnapshotsSelfManagedPP, ReusePurgedSnap) {
   std::vector<uint64_t> my_snaps;
   my_snaps.push_back(-2);
-  ASSERT_FALSE(cluster.get_pool_is_selfmanaged_snaps_mode(pool_name));
   ASSERT_EQ(0, ioctx.selfmanaged_snap_create(&my_snaps.back()));
   ASSERT_TRUE(cluster.get_pool_is_selfmanaged_snaps_mode(pool_name));
   ::std::reverse(my_snaps.begin(), my_snaps.end());