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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
aa63b07a
Commit
aa63b07a
authored
Mar 27, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
dab7b58c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
bigfile/tests/test_filezodb.py
bigfile/tests/test_filezodb.py
+0
-13
No files found.
bigfile/tests/test_filezodb.py
View file @
aa63b07a
...
@@ -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
\
n
AAA 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
...
...
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