Commit 9ba6db5e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b0f3b2e5
...@@ -631,7 +631,7 @@ class tFile: ...@@ -631,7 +631,7 @@ class tFile:
assert t.cached()[blk] > 0 assert t.cached()[blk] > 0
# XXX assert individually for every block's page? (easier debugging?) # XXX assert individually for every block's page? (easier debugging?)
assert blkview == dataok, ("#blk: %d" % blk) assert blkview == dataok
# we just accessed the block - it has to be in OS cache # we just accessed the block - it has to be in OS cache
assert t.cached()[blk] == 1 assert t.cached()[blk] == 1
...@@ -1224,7 +1224,7 @@ def test_wcfs(): ...@@ -1224,7 +1224,7 @@ def test_wcfs():
f.assertBlk(2, '4c', {wl: {2: at3}}) f.assertBlk(2, '4c', {wl: {2: at3}})
print('000') print('000')
# blk4 is hole @head - the same as at earlier db view XXX or do not allow hole past .size ? # blk4 is hole @head - the same as at earlier db view XXX or do not allow hole past .size ?
# f.assertBlk(4, '', {wl: {}}) f.assertBlk(4, '', {wl: {}})
print('AAA') print('AAA')
f.assertBlk(5, '4f', {wl: {5: at0}}) # XXX at0 -> ø XXX also triggers access to #4 ? f.assertBlk(5, '4f', {wl: {5: at0}}) # XXX at0 -> ø XXX also triggers access to #4 ?
# XXX 0, {0, at3} after δbtree works # XXX 0, {0, at3} after δbtree works
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment