Remove partitions from disk after unmounting them

Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
This commit is contained in:
Katarzyna Lapinska 2020-08-05 12:00:44 +02:00
parent 6ef7195950
commit fdf095ea15

View File

@ -168,6 +168,7 @@ def base_prepare(item):
for disk in TestRun.dut.disks: for disk in TestRun.dut.disks:
disk.umount_all_partitions() disk.umount_all_partitions()
disk.remove_partitions()
create_partition_table(disk, PartitionTable.gpt) create_partition_table(disk, PartitionTable.gpt)
if get_force_param(item) and not TestRun.usr.already_updated: if get_force_param(item) and not TestRun.usr.already_updated: