Commit c7a96bae authored by Jim Fulton's avatar Jim Fulton

Don't print server log on error and import ZEO

The later seems to be necessary when running the test multiple times
in a test run (as I did while debugging a test failure).
parent 9d765e8d
......@@ -127,7 +127,7 @@ This tests tries to provoke this bug by:
- opening a client to the server that writes some objects, filling
it's cache at the same time,
>>> import ZODB.tests.MinPO, transaction
>>> import ZEO, ZODB.tests.MinPO, transaction
>>> db = ZEO.DB(addr, client='x')
>>> conn = db.open()
>>> nobs = 1000
......@@ -203,9 +203,9 @@ This tests tries to provoke this bug by:
... record = handler.records.pop(0)
... print(record.name, record.levelname, end=' ')
... print(handler.format(record))
... if bad:
... with open('server.log') as f:
... print(f.read())
... #if bad:
... # with open('server.log') as f:
... # print(f.read())
... #else:
... # logging.getLogger('ZEO').debug('GOOD %s' % c)
... db.close()
......
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