Skip to content

Commit

Permalink
test: add a check that creating a snapshot with the same description …
Browse files Browse the repository at this point in the history
…and different name
  • Loading branch information
yunmingyang authored and martinpitt committed Jun 11, 2024
1 parent 8d09c64 commit 2e28ce8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/check-machines-snapshots
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,16 @@ class TestMachinesSnapshots(machineslib.VirtualMachinesCase):
expect_external=supports_external,
xfail="name",
).execute()

# Test create the same description and different name
SnapshotCreateDialog(
self,
name="test_snap_des",
description="Description of test_snap_1",
expect_external=supports_external,
state="shutoff",
).execute()

m.execute("virsh snapshot-delete subVmTest1 test_snap_1")

# With disk in a pool.
Expand Down

0 comments on commit 2e28ce8

Please sign in to comment.