Commit aa63b07a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent dab7b58c
...@@ -482,18 +482,8 @@ def _test_bigfile_filezodb_vs_cache_invalidation(_drop_cache): ...@@ -482,18 +482,8 @@ def _test_bigfile_filezodb_vs_cache_invalidation(_drop_cache):
#conn2._cache.minimize() #conn2._cache.minimize()
_drop_cache(conn2) # TODO change to just conn2._cache.minimize after issue is fixed _drop_cache(conn2) # TODO change to just conn2._cache.minimize after issue is fixed
"""
print('\n\n\n\n-----------------------------------\n\n\n\n')
from wendelin.lib.zodb import zconn_at
from ZODB.utils import u64
print('\n\nAAA conn2.at: @%d' % u64(zconn_at(conn2)))
"""
tm2.commit() # transaction boundary for t2 tm2.commit() # transaction boundary for t2
#print('BBB conn2.at: @%d\n\n' % u64(zconn_at(conn2)))
# data from tm1 should propagate -> ZODB -> ram pages for _ZBigFileH in conn2 # data from tm1 should propagate -> ZODB -> ram pages for _ZBigFileH in conn2
assert Blk(vma2, 0)[0] == 2 assert Blk(vma2, 0)[0] == 2
...@@ -632,9 +622,6 @@ def test_bigfile_filezodb_fmt_change(): ...@@ -632,9 +622,6 @@ def test_bigfile_filezodb_fmt_change():
file_zodb.ZBlk_fmt_write = src_fmt file_zodb.ZBlk_fmt_write = src_fmt
struct.pack_into('p', vma, 0, b(src_fmt)) struct.pack_into('p', vma, 0, b(src_fmt))
# FIXME wcfs: currently hangs with fs1 because zconn_at gives
# future tid for empty commit (when we do `ZBlk1 -> ZBlk1` in
# `ZBlk0 -> ZBlk1 | ZBlk1 -> ZBlk0`.
transaction.commit() transaction.commit()
assert type(f.blktab[0]) is src_type assert type(f.blktab[0]) is src_type
......
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