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:
commit
090d84c597
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user