Skip to content

Commit 07a56a1

Browse files
author
Jan Musial
committed
Prepare only drives requested by test
Signed-off-by: Jan Musial <jan.musial@intel.com>
1 parent 2664bc8 commit 07a56a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def base_prepare(item):
256256

257257
RamDisk.remove_all()
258258

259-
for disk in TestRun.dut.disks:
259+
for disk in TestRun.disks.values():
260260
disk_serial = get_disk_serial_number(disk.path)
261261
if disk.serial_number != disk_serial:
262262
raise Exception(

0 commit comments

Comments
 (0)