Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Kirill Smelkov
ZEO
Commits
c42ed718
Commit
c42ed718
authored
Oct 01, 2009
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't leave a transaction going that will leave a commit log open,
causing extra pain on windows.
parent
e4f71921
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/ZEO/tests/testZEO2.py
src/ZEO/tests/testZEO2.py
+2
-1
No files found.
src/ZEO/tests/testZEO2.py
View file @
c42ed718
...
@@ -87,7 +87,7 @@ will conflict. It will be blocked at the vote call.
...
@@ -87,7 +87,7 @@ will conflict. It will be blocked at the vote call.
>>> logger.setLevel(logging.INFO)
>>> logger.setLevel(logging.INFO)
>>> logger.addHandler(handler)
>>> logger.addHandler(handler)
Now, whe
m
we abort the transaction for the first client. the second
Now, whe
n
we abort the transaction for the first client. the second
client will be restarted. It will get a conflict error, that is
client will be restarted. It will get a conflict error, that is
handled correctly:
handled correctly:
...
@@ -103,6 +103,7 @@ handled correctly:
...
@@ -103,6 +103,7 @@ handled correctly:
>>> logger.setLevel(logging.NOTSET)
>>> logger.setLevel(logging.NOTSET)
>>> logger.removeHandler(handler)
>>> logger.removeHandler(handler)
>>> zs2.tpc_abort('1')
>>> fs.close()
>>> fs.close()
"""
"""
...
...
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