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
f5365776
Commit
f5365776
authored
Sep 17, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The checkReconnectUpgrade test works; the hang was due to the
unlocking bug in new_oid().
parent
e665b885
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+6
-10
No files found.
src/ZEO/tests/testZEO.py
View file @
f5365776
...
...
@@ -473,18 +473,14 @@ class ConnectionTests(StorageTestBase.StorageTestBase):
# Poll until the client disconnects
self
.
pollDown
()
# Stores should fail now
self
.
assert_
(
not
self
.
_storage
.
is_connected
())
# XXX From here on the test doesn't work yet
zLOG
.
LOG
(
"testZEO"
,
zLOG
.
INFO
,
"WHY DOES THIS HANG???"
)
self
.
assertRaises
(
Disconnected
,
self
.
_dostore
)
##
# Restart the server, this time read-write
##
self._startServer(create=0)
##
# Poll until the client sconnects
##
self.pollUp()
##
# Stores should now succeed
##
self._dostore()
# Restart the server, this time read-write
self
.
_startServer
(
create
=
0
)
# Poll until the client sconnects
self
.
pollUp
()
# Stores should now succeed
self
.
_dostore
()
def
NOcheckReadOnlyFallbackMultiple
(
self
):
# XXX This test doesn't work yet
...
...
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