Skip to content

Commit 6d41d68

Browse files
committed
storage: unify VDI resize test names
This unifies the names of the tests for VDI resizing on the EXT and LVM SRs so that they follow the naming convention established by the related test for the LINSTOR SR. Signed-off-by: Alexandre Sollier <alexandre.sollier@vates.tech>
1 parent ec0613c commit 6d41d68

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/storage/ext/test_ext_sr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_blktap_activate_failure(self, vm_on_ext_sr: VM) -> None:
106106

107107
@pytest.mark.small_vm
108108
@pytest.mark.big_vm
109-
def test_resize(self, vm_on_ext_sr: VM) -> None:
109+
def test_resize_vdi(self, vm_on_ext_sr: VM) -> None:
110110
vm = vm_on_ext_sr
111111
vdi = VDI(vm.vdi_uuids()[0], host=vm.host)
112112
old_size = vdi.get_virtual_size()
@@ -118,7 +118,7 @@ def test_resize(self, vm_on_ext_sr: VM) -> None:
118118

119119
@pytest.mark.small_vm
120120
@pytest.mark.big_vm
121-
def test_failing_resize(self, host: Host, ext_sr: SR, vm_on_ext_sr: VM, exit_on_fistpoint: None) -> None:
121+
def test_failing_resize_vdi(self, host: Host, ext_sr: SR, vm_on_ext_sr: VM, exit_on_fistpoint: None) -> None:
122122
vm = vm_on_ext_sr
123123
vdi = VDI(vm.vdi_uuids()[0], host=vm.host)
124124
old_size = vdi.get_virtual_size()

tests/storage/lvm/test_lvm_sr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_snapshot(self, vm_on_lvm_sr: VM) -> None:
6565

6666
@pytest.mark.small_vm
6767
@pytest.mark.big_vm
68-
def test_failing_resize_on_inflate_after_setSize(
68+
def test_failing_resize_vdi_on_inflate_after_setSize(
6969
self, host: Host, lvm_sr: SR, vm_on_lvm_sr: VM, exit_on_fistpoint: None
7070
) -> None:
7171
vm = vm_on_lvm_sr
@@ -93,7 +93,7 @@ def test_failing_resize_on_inflate_after_setSize(
9393

9494
@pytest.mark.small_vm
9595
@pytest.mark.big_vm
96-
def test_failing_resize_on_inflate_after_setSizePhys(
96+
def test_failing_resize_vdi_on_inflate_after_setSizePhys(
9797
self, host: Host, lvm_sr: SR, vm_on_lvm_sr: VM, exit_on_fistpoint: None
9898
) -> None:
9999
vm = vm_on_lvm_sr

0 commit comments

Comments
 (0)