]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librados/snapshots: Add FutureSnapRollback test
authorMatan Breizman <mbreizma@redhat.com>
Wed, 15 Mar 2023 11:11:47 +0000 (11:11 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 21 Mar 2023 12:58:24 +0000 (12:58 +0000)
commit047c1832c41afc3ce17c724375a6817fa1672b67
tree2ef82eca952f4dd527d0957c6b03964695424c1a
parenta9100256d03dc94805ebf41c1e7e67eb70f8a47e
test/librados/snapshots: Add FutureSnapRollback test

Add a test we rollback to a future snap id. Meaning, no mutation is
followed after taking the third snapshot.
The read op is expected to be applied to the head object.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/test/librados/snapshots.cc