TESTS: in RESERVE6 test, allow slow targets 3 seconds to notice the nexus loss and drop the reservation
This commit is contained in:
@@ -59,6 +59,8 @@ test_reserve6_itnexus_loss(void)
|
|||||||
logging(LOG_VERBOSE, "Disconnect from the target.");
|
logging(LOG_VERBOSE, "Disconnect from the target.");
|
||||||
iscsi_destroy_context(iscsic);
|
iscsi_destroy_context(iscsic);
|
||||||
|
|
||||||
|
sleep(3);
|
||||||
|
|
||||||
logging(LOG_VERBOSE, "Reconnect to target");
|
logging(LOG_VERBOSE, "Reconnect to target");
|
||||||
iscsic = iscsi_context_login(initiatorname1, tgt_url, &tgt_lun);
|
iscsic = iscsi_context_login(initiatorname1, tgt_url, &tgt_lun);
|
||||||
if (iscsic == NULL) {
|
if (iscsic == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user