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
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
Kirill Smelkov
ZEO
Commits
4d7f54c4
Commit
4d7f54c4
authored
May 14, 2013
by
Tres Seaver
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.
parents
4e3a243b
781a7063
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
18 deletions
+10
-18
.gitignore
.gitignore
+1
-2
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+8
-16
src/ZEO/tests/zeo-fan-out.test
src/ZEO/tests/zeo-fan-out.test
+1
-0
No files found.
.gitignore
View file @
4d7f54c4
...
@@ -5,6 +5,5 @@ __pycache__
...
@@ -5,6 +5,5 @@ __pycache__
.tox
.tox
bin
bin
develop-eggs
develop-eggs
docs
parts
eggs
eggs
parts
src/ZEO/tests/testZEO.py
View file @
4d7f54c4
...
@@ -1153,22 +1153,14 @@ def client_has_newer_data_than_server():
...
@@ -1153,22 +1153,14 @@ def client_has_newer_data_than_server():
... time.sleep(.01)
... time.sleep(.01)
>>> db.close()
>>> db.close()
>>> for record in handler.records[:5]:
>>> client_errors = [x for x in handler.records
... print(formatter.format(record))
... if x.filename == 'ClientStorage.py' and
... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
... x.funcName == 'verify_cache' and
ZEO.ClientStorage CRITICAL client
... x.levelname == 'CRITICAL' and
Client has seen newer transactions than server!
... x.msg == 'client Client has seen '
ZEO.zrpc ERROR (...) CW: error in notifyConnected (('127.0.0.1', ...))
... 'newer transactions than server!']
Traceback (most recent call last):
>>> len(client_errors) >= 2
...
True
ClientStorageError: client Client has seen newer transactions than server!
ZEO.ClientStorage CRITICAL client
Client has seen newer transactions than server!
ZEO.zrpc ERROR (...) CW: error in notifyConnected (('127.0.0.1', ...))
Traceback (most recent call last):
...
ClientStorageError: client Client has seen newer transactions than server!
...
Note that the errors repeat because the client keeps on trying to connect.
Note that the errors repeat because the client keeps on trying to connect.
...
...
src/ZEO/tests/zeo-fan-out.test
View file @
4d7f54c4
...
@@ -116,6 +116,7 @@ invalidated:
...
@@ -116,6 +116,7 @@ invalidated:
>>> stop_server(adminaddr0)
>>> stop_server(adminaddr0)
>>> _ = start_server('<filestorage 1>\npath fs\n</filestorage>\n',
>>> _ = start_server('<filestorage 1>\npath fs\n</filestorage>\n',
... port=port0)
... port=port0)
>>> time.sleep(10) # get past startup / verification
>>> for i in range(1000):
>>> for i in range(1000):
... c1.sync()
... c1.sync()
...
...
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