Skip to content

Commit 7e395b3

Browse files
author
Kostiantyn Kostiuk
committed
vioscsi: Enable flush test
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
1 parent 4ff99fb commit 7e395b3

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

lib/engines/hcktest/drivers/vioscsi.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
}
3333
],
3434
"reject_test_names": [
35-
"Flush Test",
3635
"DF - Embedded Signature Verification Test (Certification)",
3736
"DF - Embedded Signature Verification Test (Tuning and Validation)",
3837
"Storage HBA Firmware Update",

lib/engines/hcktest/hcktest.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@
2020
"value": 0
2121
}
2222
]
23+
},
24+
{
25+
"tests": [
26+
"Flush Test"
27+
],
28+
"parameters": [
29+
{
30+
"name": "IP",
31+
"value": "192.168.100.100"
32+
},
33+
{
34+
"name": "Outlet",
35+
"value": "161"
36+
}
37+
]
2338
}
2439
]
2540
}
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
{
22
"name": "virtio-scsi-pci",
33
"type": "storage",
4+
"define_variables": {
5+
"@scsi_qmp_socket@": "scsi_qmp_@run_id@_@client_id@_sock"
6+
},
7+
"pre_start_commands": [
8+
"rm -vf @scsi_qmp_socket@",
9+
"@source@/bin/fake-snmp-reset @scsi_qmp_socket@ &"
10+
],
411
"command_line": [
512
"-drive file=@image_path@,if=none,format=@image_format@,id=virtio_scsi_@run_id@_@client_id@@drive_cache_options@",
613
"-device virtio-scsi-pci@device_extra_param@@iommu_device_param@,id=scsi,bus=@[email protected]",
7-
"-device scsi-hd,drive=virtio_scsi_@run_id@_@client_id@,serial=@client_id@scsi@run_id@@bootindex@"
14+
"-device scsi-hd,drive=virtio_scsi_@run_id@_@client_id@,serial=@client_id@scsi@run_id@@bootindex@",
15+
"-chardev socket,id=scsi_qmp,path=@scsi_qmp_socket@,server=on,wait=off",
16+
"-mon chardev=scsi_qmp,mode=control"
817
]
918
}

0 commit comments

Comments
 (0)