Skip to content
Snippets Groups Projects
Commit 72526b12 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Correct the exception name

parent 332b2c45
No related branches found
No related tags found
1 merge request!49Correct pass count for mutable writes
......@@ -156,7 +156,7 @@ class PassValidationTests(TestCase):
"""
If ``remote_slot_testv_and_readv_and_writev`` is invoked to perform
initial writes on shares without supplying passes, the operation fails
with ``LeaseRenewalRequired``.
with ``MorePassesRequired``.
"""
data = b"01234567"
offset = 0
......@@ -183,7 +183,7 @@ class PassValidationTests(TestCase):
Equals(1),
)
else:
self.fail("expected LeaseRenewalRequired, got {}".format(result))
self.fail("expected MorePassesRequired, got {}".format(result))
# TODO
# a write that increases the storage cost of the share requires passes too
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment