Merge pull request #597 from karolinavelkaja/removing_partitions_after_mdadm_fix

fix for removing partitions after mdadm --zero-superblock command
This commit is contained in:
Robert Baldyga
2020-12-16 23:21:32 +01:00
committed by GitHub

View File

@@ -200,6 +200,7 @@ def base_prepare(item):
for disk in TestRun.dut.disks:
disk.umount_all_partitions()
Mdadm.zero_superblock(disk.system_path)
TestRun.executor.run_expect_success("udevadm settle")
disk.remove_partitions()
create_partition_table(disk, PartitionTable.gpt)