In the test iSCSI.iSCSITMF.LUNResetSimpleAsync CU_ASSERT_EQUAL(reconnect_succeeded, 1) must be called after the async TMF command completes. Hence move that assert into the TMF completion callback. This patch fixes a race condition. [bvanassche: edited commit message]
5.7 KiB
5.7 KiB