Tests: Asynchronous iSCSI read test
Dispatch a number of READ10 requests simultaneously, and await all responses. The iscsi-support test helper functions are currently all synchronous, so this test mostly uses the bare libiscsi API. As new async tests are added, we can make a more informed decision on which boilerplate code can be split out. Signed-off-by: David Disseldorp <ddiss@suse.de>
This commit is contained in:
@@ -227,6 +227,7 @@ static CU_TestInfo tests_read10[] = {
|
||||
{ (char *)"ZeroBlocks", test_read10_0blocks },
|
||||
{ (char *)"ReadProtect", test_read10_rdprotect },
|
||||
{ (char *)"DpoFua", test_read10_dpofua },
|
||||
{ (char *)"Async", test_async_read },
|
||||
CU_TEST_INFO_NULL
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user