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
commit 090d84c597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)