We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07a56a1 commit e7fd859Copy full SHA for e7fd859
test/functional/tests/conftest.py
@@ -259,10 +259,7 @@ def base_prepare(item):
259
for disk in TestRun.disks.values():
260
disk_serial = get_disk_serial_number(disk.path)
261
if disk.serial_number != disk_serial:
262
- raise Exception(
263
- f"Serial for {disk.path} doesn't match the one from the config."
264
- f"Serial from config {disk.serial_number}, actual serial {disk_serial}"
265
- )
+ disk.serial_number = disk_serial
266
267
disk.umount_all_partitions()
268
Mdadm.zero_superblock(os.path.join('/dev', disk.device_id))
0 commit comments