From 0999e601b8710c983452133ed66576d3b57455fd Mon Sep 17 00:00:00 2001 From: Daniel Madej Date: Fri, 4 Oct 2024 08:58:35 +0200 Subject: [PATCH] Remove redundant unmount remove_partitions() includes unmounting them Signed-off-by: Daniel Madej --- test/functional/tests/conftest.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/functional/tests/conftest.py b/test/functional/tests/conftest.py index d501bb7..9c3017e 100644 --- a/test/functional/tests/conftest.py +++ b/test/functional/tests/conftest.py @@ -262,7 +262,6 @@ def base_prepare(item): disk_path in device.get_device_id(), [bd.get_device_id() for bd in TestRun.dut.disks])), raid.array_devices)): - raid.umount_all_partitions() raid.remove_partitions() raid.unmount() raid.stop() @@ -278,8 +277,6 @@ def base_prepare(item): f"Serial for {disk.path} doesn't match the one from the config." f"Serial from config {disk.serial_number}, actual serial {disk_serial}" ) - - disk.umount_all_partitions() disk.remove_partitions() disk.unmount() Mdadm.zero_superblock(posixpath.join('/dev', disk.get_device_id()))