test-tool: add LogoutDuringIOAsync test case

This attempts to reproduce upstream LIO reports of a use after free bug
when logout occurs alongside concurrent I/O.

Signed-off-by: David Disseldorp <ddiss@suse.de>
This commit is contained in:
David Disseldorp
2020-08-18 15:44:10 +02:00
parent 4080c09839
commit 54b3dcaa30
3 changed files with 107 additions and 2 deletions

View File

@@ -593,6 +593,7 @@ static CU_TestInfo tests_iscsi_residuals[] = {
static CU_TestInfo tests_iscsi_tmf[] = {
{ "AbortTaskSimpleAsync", test_async_abort_simple },
{ "LUNResetSimpleAsync", test_async_lu_reset_simple },
{ "LogoutDuringIOAsync", test_async_io_logout },
CU_TEST_INFO_NULL
};