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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
697a02fc
Commit
697a02fc
authored
May 11, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes for windows.
parent
68e29f54
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 @
697a02fc
...
@@ -34,8 +34,8 @@ Then we''ll start 2 others that use this one:
...
@@ -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:
Now, let's create some client storages that connect to these:
>>> import ZEO.ClientStorage
>>> import ZEO.ClientStorage
>>> cs1 = ZEO.ClientStorage.ClientStorage(('', port1), '1')
>>> cs1 = ZEO.ClientStorage.ClientStorage(('
localhost
', port1), '1')
>>> cs2 = ZEO.ClientStorage.ClientStorage(('', port2), '1')
>>> cs2 = ZEO.ClientStorage.ClientStorage(('
localhost
', port2), '1')
And some databases and connections around these:
And some databases and connections around these:
...
@@ -142,3 +142,11 @@ Cleanup:
...
@@ -142,3 +142,11 @@ Cleanup:
>>> ZEO.tests.forker.shutdown_zeo_server(adminaddr0)
>>> ZEO.tests.forker.shutdown_zeo_server(adminaddr0)
>>> ZEO.tests.forker.shutdown_zeo_server(adminaddr1)
>>> ZEO.tests.forker.shutdown_zeo_server(adminaddr1)
>>> ZEO.tests.forker.shutdown_zeo_server(adminaddr2)
>>> 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