Skip to content

Commit

Permalink
tests: Don't clean-up drives that won't be used
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Gierszewski <[email protected]>
  • Loading branch information
Kamil Gierszewski committed Oct 30, 2024
1 parent 86bf6bc commit 05dcc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def base_prepare(item):
Udev.settle()

RamDisk.remove_all()
for disk in TestRun.dut.disks:
for disk in TestRun.disks.values():
disk_serial = get_disk_serial_number(disk.path)
if disk.serial_number and disk.serial_number != disk_serial:
raise Exception(
Expand Down

0 comments on commit 05dcc20

Please sign in to comment.