]> 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>
Sun, 21 May 2023 09:34:47 +0000 (09:34 +0000)
commit751bf905ab25c6355f4d0b2fd8f72141adce4579
tree467500d001529e28a5bb2cdbc383bb7840f67731
parent25b616d1ab9c35b48ca960f0093879a9cad2e1f2
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>
(cherry picked from commit 047c1832c41afc3ce17c724375a6817fa1672b67)
src/test/librados/snapshots.cc