Skip to content

Commit

Permalink
Merge pull request #1469 from PhanLe1010/6298
Browse files Browse the repository at this point in the history
Add test skeleton test_snapshot_cr
  • Loading branch information
yangchiu authored Jul 27, 2023
2 parents 19a768b + 34b17f3 commit 1760fb0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions manager/integration/tests/test_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,3 +659,16 @@ def wait_for_snapshot_checksums_generate(volume_name): # NOQA

assert snapshot_checksums_generate
return count

@pytest.mark.skip(reason="TODO") # NOQA
def test_snapshot_cr(): # NOQA
"""
GitHub ticket: https://github.com/longhorn/longhorn/issues/6298
1. set auto-cleanup-system-generated-snapshots to true
2. Create and attach a volume with 3 replicas
3. Delete one of the volumes replicas.
4. Wait for the replica to rebuild and volume become healthy
5. Verify that there is one Longhorn snapshot CR of this volume
6. Repeat steps 3-5 about 10 times
"""

0 comments on commit 1760fb0

Please sign in to comment.