Skip to content

Commit

Permalink
Merge master.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed May 14, 2013
2 parents 4e3a243 + 781a706 commit 4d7f54c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 18 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ __pycache__
.tox
bin
develop-eggs
docs
parts
eggs
parts
24 changes: 8 additions & 16 deletions src/ZEO/tests/testZEO.py
Original file line number Diff line number Diff line change
Expand Up @@ -1153,22 +1153,14 @@ def client_has_newer_data_than_server():
... time.sleep(.01)
>>> db.close()
>>> for record in handler.records[:5]:
... print(formatter.format(record))
... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
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!
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!
...
>>> client_errors = [x for x in handler.records
... if x.filename == 'ClientStorage.py' and
... x.funcName == 'verify_cache' and
... x.levelname == 'CRITICAL' and
... x.msg == 'client Client has seen '
... 'newer transactions than server!']
>>> len(client_errors) >= 2
True
Note that the errors repeat because the client keeps on trying to connect.
Expand Down
1 change: 1 addition & 0 deletions src/ZEO/tests/zeo-fan-out.test
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ invalidated:
>>> stop_server(adminaddr0)
>>> _ = start_server('<filestorage 1>\npath fs\n</filestorage>\n',
... port=port0)
>>> time.sleep(10) # get past startup / verification

>>> for i in range(1000):
... c1.sync()
Expand Down

0 comments on commit 4d7f54c

Please sign in to comment.