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
0dc9c5ea
Commit
0dc9c5ea
authored
Dec 18, 2009
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo.
parent
b5ae1d93
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/ZEO/tests/servertesting.py
src/ZEO/tests/servertesting.py
+1
-1
src/ZEO/tests/testZEO2.py
src/ZEO/tests/testZEO2.py
+4
-4
No files found.
src/ZEO/tests/servertesting.py
View file @
0dc9c5ea
...
@@ -37,7 +37,7 @@ class StorageServer(ZEO.StorageServer.StorageServer):
...
@@ -37,7 +37,7 @@ class StorageServer(ZEO.StorageServer.StorageServer):
def
DispatcherClass
(
*
args
,
**
kw
):
def
DispatcherClass
(
*
args
,
**
kw
):
pass
pass
class
Conection
:
class
Con
n
ection
:
peer_protocol_version
=
ZEO
.
zrpc
.
connection
.
Connection
.
current_protocol
peer_protocol_version
=
ZEO
.
zrpc
.
connection
.
Connection
.
current_protocol
connected
=
True
connected
=
True
...
...
src/ZEO/tests/testZEO2.py
View file @
0dc9c5ea
...
@@ -57,7 +57,7 @@ Create the server:
...
@@ -57,7 +57,7 @@ Create the server:
And an initial client.
And an initial client.
>>> zs1 = ZEO.StorageServer.ZEOStorage(server)
>>> zs1 = ZEO.StorageServer.ZEOStorage(server)
>>> conn1 = ZEO.tests.servertesting.Conection(1)
>>> conn1 = ZEO.tests.servertesting.Con
n
ection(1)
>>> zs1.notifyConnected(conn1)
>>> zs1.notifyConnected(conn1)
>>> zs1.register('1', 0)
>>> zs1.register('1', 0)
>>> zs1.tpc_begin('0', '', '', {})
>>> zs1.tpc_begin('0', '', '', {})
...
@@ -69,7 +69,7 @@ In a second client, we'll try to commit using the old serial. This
...
@@ -69,7 +69,7 @@ In a second client, we'll try to commit using the old serial. This
will conflict. It will be blocked at the vote call.
will conflict. It will be blocked at the vote call.
>>> zs2 = ZEO.StorageServer.ZEOStorage(server)
>>> zs2 = ZEO.StorageServer.ZEOStorage(server)
>>> conn2 = ZEO.tests.servertesting.Conection(2)
>>> conn2 = ZEO.tests.servertesting.Con
n
ection(2)
>>> zs2.notifyConnected(conn2)
>>> zs2.notifyConnected(conn2)
>>> zs2.register('1', 0)
>>> zs2.register('1', 0)
>>> zs2.tpc_begin('1', '', '', {})
>>> zs2.tpc_begin('1', '', '', {})
...
@@ -119,7 +119,7 @@ storage isn't left in tpc.
...
@@ -119,7 +119,7 @@ storage isn't left in tpc.
And an initial client.
And an initial client.
>>> zs1 = ZEO.StorageServer.ZEOStorage(server)
>>> zs1 = ZEO.StorageServer.ZEOStorage(server)
>>> conn1 = ZEO.tests.servertesting.Conection(1)
>>> conn1 = ZEO.tests.servertesting.Con
n
ection(1)
>>> zs1.notifyConnected(conn1)
>>> zs1.notifyConnected(conn1)
>>> zs1.register('1', 0)
>>> zs1.register('1', 0)
>>> zs1.tpc_begin('0', '', '', {})
>>> zs1.tpc_begin('0', '', '', {})
...
@@ -141,7 +141,7 @@ We're not in a transaction:
...
@@ -141,7 +141,7 @@ We're not in a transaction:
We can start another client and get the storage lock.
We can start another client and get the storage lock.
>>> zs1 = ZEO.StorageServer.ZEOStorage(server)
>>> zs1 = ZEO.StorageServer.ZEOStorage(server)
>>> conn1 = ZEO.tests.servertesting.Conection(1)
>>> conn1 = ZEO.tests.servertesting.Con
n
ection(1)
>>> zs1.notifyConnected(conn1)
>>> zs1.notifyConnected(conn1)
>>> zs1.register('1', 0)
>>> zs1.register('1', 0)
>>> zs1.tpc_begin('1', '', '', {})
>>> zs1.tpc_begin('1', '', '', {})
...
...
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