sanoid/tests/syncoid
Nick Liu f2e1e4f8a0
test(syncoid): Add test to verify out-of-order snapshot sync
This commit adds a regression test for the out-of-order snapshot
replication issue.

The new test case manipulates the system clock with `setdate` to create
snapshots with non-monotonic `creation` timestamps but a correct,
sequential `createtxg`. It then runs `syncoid` and verifies that all
snapshots were replicated, which is only possible if they are ordered
correctly by `createtxg`.

See #815 for the original test.
2025-06-11 13:01:00 -05:00
..
001_bookmark_replication_intermediate * proper order of tests 2024-04-05 15:20:28 +02:00
002_bookmark_replication_no_intermediate * proper order of tests 2024-04-05 15:20:28 +02:00
003_force_delete * proper order of tests 2024-04-05 15:20:28 +02:00
004_bookmark_replication_edge_case * proper order of tests 2024-04-05 15:20:28 +02:00
005_reset_resume_state * proper order of tests 2024-04-05 15:20:28 +02:00
006_reset_resume_state2 * proper order of tests 2024-04-05 15:20:28 +02:00
007_preserve_recordsize * proper order of tests 2024-04-05 15:20:28 +02:00
008_force_delete_snapshot * proper order of tests 2024-04-05 15:20:28 +02:00
009_preserve_properties * proper order of tests 2024-04-05 15:20:28 +02:00
010_filter_snaps * proper order of tests 2024-04-05 15:20:28 +02:00
011_sync_out-of-order_snapshots test(syncoid): Add test to verify out-of-order snapshot sync 2025-06-11 13:01:00 -05:00
012_receive_resume_token fix(syncoid): `zfs send` arg allowlist when sendsource is receivetoken 2024-04-26 02:18:19 -05:00
run-tests.sh Revert "Merge pull request #818 from Deltik/fix/815" 2025-06-05 23:23:30 +02:00