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
2e63eb47
Commit
2e63eb47
authored
Jun 07, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make client_asyncore_thread_has_name less brittle.
parent
8f39958f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+3
-3
No files found.
src/ZEO/tests/testZEO.py
View file @
2e63eb47
...
@@ -1227,9 +1227,9 @@ def client_asyncore_thread_has_name():
...
@@ -1227,9 +1227,9 @@ def client_asyncore_thread_has_name():
"""
"""
>>> addr, _ = start_server()
>>> addr, _ = start_server()
>>> db = ZEO.DB(addr)
>>> db = ZEO.DB(addr)
>>>
len([
t for t in threading.enumerate()
>>>
any(
t for t in threading.enumerate()
...
if ' zeo client networking thread' in t.getName()]
)
...
if ' zeo client networking thread' in t.getName()
)
1
True
>>> db.close()
>>> db.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