Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
81f819e3
Commit
81f819e3
authored
Apr 01, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b8cd4381
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
bigfile/tests/test_filezodb.py
bigfile/tests/test_filezodb.py
+1
-0
lib/tests/test_zodb.py
lib/tests/test_zodb.py
+0
-1
No files found.
bigfile/tests/test_filezodb.py
View file @
81f819e3
...
@@ -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
...
...
lib/tests/test_zodb.py
View file @
81f819e3
...
@@ -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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment