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
2c4cbbd5
Commit
2c4cbbd5
authored
Mar 12, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2f7e0cc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
lib/tests/test_zodb.py
lib/tests/test_zodb.py
+15
-3
No files found.
lib/tests/test_zodb.py
View file @
2c4cbbd5
...
...
@@ -269,13 +269,25 @@ def test_zconn_at():
assert
zconn_at
(
conn2
)
==
at1
conn2
.
close
()
# commit empty transaction - view stays in sync with storage head
#
# TODO zconn_at after empty commit (with fs1 currently gives future tid,
# but db is not updated and wcfs client resync to that future tid hangs)
conn3
=
db
.
open
()
assert
conn3
is
conn2
# from DB pool
assert
zconn_at
(
conn3
)
==
at1
transaction
.
commit
()
zsync
(
stor
)
at1_
=
stor
.
lastTransaction
()
assert
zconn_at
(
conn3
)
==
at1_
conn3
.
close
()
# TODO commit -> know head -> open conn1,
# open conn2, commit there; wait or sync, make sure zconn_at(conn1) is as expected
# TODO zconn_at for historic connection
# TODO zconn_at after empty commit (with fs1 currently gives future tid,
# but db is not updated and wcfs client resync to that future tid hangs)
pass
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