Skip to content

Commit

Permalink
CA-396089 Correct spelling of 'achieved'
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <tim.smith@cloud.com>
  • Loading branch information
Tim Smith authored and MarkSymsCtx committed Jul 26, 2024
1 parent b2597e7 commit 6ad8fdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2016,7 +2016,7 @@ def abortCoalesce(self, prevSize, curSize):
if (self.its > self.GRACE_ITERATIONS and
(not res) and (curSize > maxSizeFromMin)):
self.reason = "Unexpected bump in size," \
" compared to minimum acheived"
" compared to minimum achieved"
res = True

return res
Expand All @@ -2030,7 +2030,7 @@ def printReasoning(self):
.format(size=self.startSize))
Util.log("Final size was {size}"
.format(size=self.finishSize))
Util.log("Minimum size acheived was {size}"
Util.log("Minimum size achieved was {size}"
.format(size=self.minSize))

def _coalesceLeaf(self, vdi):
Expand Down
4 changes: 2 additions & 2 deletions tests/test_cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ def trackerReportOk(self, tracker, expectedHistory, expectedReason,
" {size}".format(size=finish))
pos += 1
self.assertEqual(FakeUtil.record[pos],
"Minimum size acheived"
"Minimum size achieved"
" was {size}".format(size=minimum))
FakeUtil.record = []
cleanup.Util = _before
Expand Down Expand Up @@ -1301,7 +1301,7 @@ def test_leafCoalesceTracker(self):
"Iteration: 2 -- Initial size 100 --> Final size 121",
]
expectedReason = "Unexpected bump in size," \
" compared to minimum acheived"
" compared to minimum achieved"
res = tracker.abortCoalesce(100, 100)
self.assertFalse(res)
res = tracker.abortCoalesce(100, 121)
Expand Down

0 comments on commit 6ad8fdb

Please sign in to comment.