Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Nicolas Wavrant
ZODB
Commits
15a8778b
Commit
15a8778b
authored
May 11, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes for windows.
parent
72818b0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
src/ZEO/tests/zeo-fan-out.test
src/ZEO/tests/zeo-fan-out.test
+10
-2
No files found.
src/ZEO/tests/zeo-fan-out.test
View file @
15a8778b
...
...
@@ -34,8 +34,8 @@ Then we''ll start 2 others that use this one:
Now, let's create some client storages that connect to these:
>>> import ZEO.ClientStorage
>>> cs1 = ZEO.ClientStorage.ClientStorage(('', port1), '1')
>>> cs2 = ZEO.ClientStorage.ClientStorage(('', port2), '1')
>>> cs1 = ZEO.ClientStorage.ClientStorage(('
localhost
', port1), '1')
>>> cs2 = ZEO.ClientStorage.ClientStorage(('
localhost
', port2), '1')
And some databases and connections around these:
...
...
@@ -142,3 +142,11 @@ Cleanup:
>>> ZEO.tests.forker.shutdown_zeo_server(adminaddr0)
>>> ZEO.tests.forker.shutdown_zeo_server(adminaddr1)
>>> ZEO.tests.forker.shutdown_zeo_server(adminaddr2)
Wait for processed to stop on windows, since we can't remove the test
dir until they do. :(
>>> import sys
>>> if sys.platform == 'win32':
... import time
... time.sleep(10)
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