Skip to content

Commit 4716497

Browse files
author
Deli Zhang
authored
Merge pull request #92 from MarkSymsCtx/CA-373599
CA-373599: correct OffByOne block start in write through test
2 parents 74807bc + 7751810 commit 4716497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/XenCert/StorageHandlerUtil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def perform_sr_control_path_tests(session, sr_ref):
579579
elif time_to_write > 0:
580580
printout(" APPROXIMATE RUN TIME: %s seconds." % (time_to_write))
581581

582-
if not util.zeroOut(devicename, 1, int(vdi_size)):
582+
if not util.zeroOut(devicename, 0, int(vdi_size)):
583583
raise Exception(" - Could not write through the allocated disk space on test disk, please check the log for the exception details.")
584584

585585
printout(" END TIME: %s " % (time.asctime(time.localtime())))

0 commit comments

Comments
 (0)