Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA-396089 Correct spelling of 'achieved' #700

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading