Commit 81f819e3 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b8cd4381
...@@ -140,6 +140,7 @@ def test_bigfile_filezodb(): ...@@ -140,6 +140,7 @@ def test_bigfile_filezodb():
# (verifies ZBlk.loadblkdata() & loadblk logic when loading data the second time) # (verifies ZBlk.loadblkdata() & loadblk logic when loading data the second time)
reclaimed = ram_reclaim_all() reclaimed = ram_reclaim_all()
if fh.uses_mmap_overlay(): if fh.uses_mmap_overlay():
# in mmap-overlay mode no on-client RAM is allocated for read data
assert reclaimed == 0 assert reclaimed == 0
else: else:
assert reclaimed >= blen # XXX assumes pagesize=blksize assert reclaimed >= blen # XXX assumes pagesize=blksize
......
...@@ -313,4 +313,3 @@ def zsync(zstor): ...@@ -313,4 +313,3 @@ def zsync(zstor):
sync = getattr(zstor, 'sync', None) sync = getattr(zstor, 'sync', None)
if sync is not None: if sync is not None:
sync() sync()
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