diff options
author | Jason Dillaman <dillaman@redhat.com> | 2018-02-06 01:04:37 +0100 |
---|---|---|
committer | Jason Dillaman <dillaman@redhat.com> | 2018-02-06 01:04:37 +0100 |
commit | 88171d09f366237aeb2d94d8662f68b106f58477 (patch) | |
tree | 11f65a5e77614719023bbfbf1c578eb4ff2b278b /src/test/librbd/operation | |
parent | cls/rbd: tweak handling for moving snapshots to trash namespace (diff) | |
download | ceph-88171d09f366237aeb2d94d8662f68b106f58477.tar.xz ceph-88171d09f366237aeb2d94d8662f68b106f58477.zip |
cls/rbd: store original namespace type within trash snapshot namespace
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'src/test/librbd/operation')
-rw-r--r-- | src/test/librbd/operation/test_mock_SnapshotRemoveRequest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/librbd/operation/test_mock_SnapshotRemoveRequest.cc b/src/test/librbd/operation/test_mock_SnapshotRemoveRequest.cc index 4f86b93fec7..3747e20d86a 100644 --- a/src/test/librbd/operation/test_mock_SnapshotRemoveRequest.cc +++ b/src/test/librbd/operation/test_mock_SnapshotRemoveRequest.cc @@ -291,7 +291,9 @@ TEST_F(TestMockOperationSnapshotRemoveRequest, SuccessTrash) { uint64_t snap_id = ictx->snap_info.rbegin()->first; expect_snapshot_get(mock_image_ctx, - {snap_id, {cls::rbd::TrashSnapshotNamespace{"snap1"}}, + {snap_id, + {cls::rbd::TrashSnapshotNamespace{ + cls::rbd::SNAPSHOT_NAMESPACE_TYPE_USER, "snap1"}}, "snap1", 123, {}, 0}, 0); expect_get_parent_spec(mock_image_ctx, 0); |