Skip to content

Commit

Permalink
Merge pull request #92 from MarkSymsCtx/CA-373599
Browse files Browse the repository at this point in the history
CA-373599: correct OffByOne block start in write through test
  • Loading branch information
DeliZhangX authored Dec 20, 2022
2 parents 74807bc + 7751810 commit 4716497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XenCert/StorageHandlerUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def perform_sr_control_path_tests(session, sr_ref):
elif time_to_write > 0:
printout(" APPROXIMATE RUN TIME: %s seconds." % (time_to_write))

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

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

0 comments on commit 4716497

Please sign in to comment.