Allow write version to jump by more than 2e9
This commit is contained in:
@@ -84,6 +84,14 @@ def test_two_billion_versions():
|
||||
cs.check(read(1, b"\x00", b"\xff"))
|
||||
|
||||
|
||||
def test_positive_bytes():
|
||||
with DebugConflictSet() as cs:
|
||||
cs.addWrites(1, write(b"hello"))
|
||||
assert cs.getBytes() > 0
|
||||
cs.addWrites(1 + 2**32)
|
||||
assert cs.getBytes() > 0
|
||||
|
||||
|
||||
def test_decrease_capacity():
|
||||
# make a Node48, then a Node256
|
||||
for count in (17, 49):
|
||||
|
Reference in New Issue
Block a user