Add a test that a sanitize operation will continue across resets
Verify that abort task/abort task set/lun reset/warm reset/cold reset and full blown session failures will not affect a sanitize that is in progress
This commit is contained in:
@@ -55,7 +55,9 @@ test_sanitize_readonly(void)
|
||||
|
||||
logging(LOG_VERBOSE, "Use TESTUNITREADY to clear unit attention on "
|
||||
"first connection");
|
||||
while (testunitready_clear_ua(iscsic, tgt_lun));
|
||||
while (testunitready_clear_ua(iscsic, tgt_lun)) {
|
||||
sleep(1);
|
||||
}
|
||||
|
||||
logging(LOG_VERBOSE, "Check if SANITIZE OVERWRITE is supported "
|
||||
"in REPORT_SUPPORTED_OPCODES");
|
||||
@@ -115,7 +117,9 @@ test_sanitize_readonly(void)
|
||||
|
||||
logging(LOG_VERBOSE, "Use TESTUNITREADY to clear unit attention on "
|
||||
"first connection");
|
||||
while (testunitready_clear_ua(iscsic, tgt_lun));
|
||||
while (testunitready_clear_ua(iscsic, tgt_lun)) {
|
||||
sleep(1);
|
||||
}
|
||||
|
||||
iscsi_destroy_context(iscsic2);
|
||||
iscsic2 = NULL;
|
||||
|
||||
Reference in New Issue
Block a user