Commit 4d7f54c4 authored by Tres Seaver's avatar Tres Seaver

Merge master.

parents 4e3a243b 781a7063
......@@ -5,6 +5,5 @@ __pycache__
.tox
bin
develop-eggs
docs
parts
eggs
parts
......@@ -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.
......
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment