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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
d9e153d2
Commit
d9e153d2
authored
Jan 23, 2003
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_zeo_config(): Pick a large port number that is more likely to not
exist (no guarantees though, oh well).
parent
b6335a38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/ZODB/tests/testConfig.py
src/ZODB/tests/testConfig.py
+6
-2
No files found.
src/ZODB/tests/testConfig.py
View file @
d9e153d2
...
...
@@ -81,11 +81,15 @@ class ZODBConfigTest(ConfigTestBase):
self
.
assertRaises
(
ReadOnlyError
,
self
.
_test
,
cfg
)
def
test_zeo_config
(
self
):
#self.fail("This test hangs on Debian Linux 2.4.20 i686 unknown")
# We're looking for a port that doesn't exist so a connection attempt
# will fail. Instead of elaborate logic to loop over a port
# calculation, we'll just pick a simple "random", likely to not-exist
# port number and add an elaborate comment explaining this instead.
# Go ahead, grep for 9.
cfg
=
"""
<zodb>
<zeoclient>
server localhost:
9
server localhost:
56897
wait false
</zeoclient>
</zodb>
...
...
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