From 3e358bb192ae4e937878005d0a300f26f877a968 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 23 Mar 2013 10:13:03 -0700 Subject: [PATCH] TESTS: in RESERVE6 test, allow slow targets 3 seconds to notice the nexus loss and drop the reservation --- test-tool/test_reserve6_itnexus_loss.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test-tool/test_reserve6_itnexus_loss.c b/test-tool/test_reserve6_itnexus_loss.c index 2a52dae..8d3fa45 100644 --- a/test-tool/test_reserve6_itnexus_loss.c +++ b/test-tool/test_reserve6_itnexus_loss.c @@ -59,6 +59,8 @@ test_reserve6_itnexus_loss(void) logging(LOG_VERBOSE, "Disconnect from the target."); iscsi_destroy_context(iscsic); + sleep(3); + logging(LOG_VERBOSE, "Reconnect to target"); iscsic = iscsi_context_login(initiatorname1, tgt_url, &tgt_lun); if (iscsic == NULL) {