[Checkins] [zopefoundation/ZEO] b08a71: Make sure the ZEO 5 client works with the ZEO 4 se...

GitHub noreply at github.com
Thu Aug 4 15:01:21 CEST 2016


  Branch: refs/heads/asyncio
  Home:   https://github.com/zopefoundation/ZEO
  Commit: b08a718ba89142ee25da0492514dd8fc34256c98
      https://github.com/zopefoundation/ZEO/commit/b08a718ba89142ee25da0492514dd8fc34256c98
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-02 (Tue, 02 Aug 2016)

  Changed paths:
    M .travis.yml
    M src/ZEO/ClientStorage.py
    M src/ZEO/TransactionBuffer.py
    M src/ZEO/asyncio/client.py
    A src/ZEO/tests/ZEO4/README.rst
    A src/ZEO/tests/ZEO4/StorageServer.py
    A src/ZEO/tests/ZEO4/__init__.py
    A src/ZEO/tests/ZEO4/auth/__init__.py
    A src/ZEO/tests/ZEO4/auth/auth_digest.py
    A src/ZEO/tests/ZEO4/auth/base.py
    A src/ZEO/tests/ZEO4/auth/hmac.py
    A src/ZEO/tests/ZEO4/component.xml
    A src/ZEO/tests/ZEO4/hash.py
    A src/ZEO/tests/ZEO4/monitor.py
    A src/ZEO/tests/ZEO4/runzeo.py
    A src/ZEO/tests/ZEO4/schema.xml
    A src/ZEO/tests/ZEO4/zrpc/__init__.py
    A src/ZEO/tests/ZEO4/zrpc/_hmac.py
    A src/ZEO/tests/ZEO4/zrpc/client.py
    A src/ZEO/tests/ZEO4/zrpc/connection.py
    A src/ZEO/tests/ZEO4/zrpc/error.py
    A src/ZEO/tests/ZEO4/zrpc/log.py
    A src/ZEO/tests/ZEO4/zrpc/marshal.py
    A src/ZEO/tests/ZEO4/zrpc/server.py
    A src/ZEO/tests/ZEO4/zrpc/smac.py
    A src/ZEO/tests/ZEO4/zrpc/trigger.py
    M src/ZEO/tests/forker.py
    M src/ZEO/tests/testConnection.py
    M src/ZEO/tests/testZEO.py
    M src/ZEO/tests/test_client_credentials.py
    M src/ZEO/tests/test_client_side_conflict_resolution.py
    M src/ZEO/tests/testssl.py

  Log Message:
  -----------
  Make sure the ZEO 5 client works with the ZEO 4 server

Added an option to test the ZEO 5 client against the ZEO 4
server. This involved making a copy of the ZEO 4 server in
ZEO.tests.ZEO4 and disabling tests of ZEO5-specific features.

Testing revealed bugs in support for ZEO 4 servers, which were fixed.


  Commit: 42516476d5f1bf336d438eaa0e62dddb07ec1612
      https://github.com/zopefoundation/ZEO/commit/42516476d5f1bf336d438eaa0e62dddb07ec1612
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-02 (Tue, 02 Aug 2016)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Make sure the ZEO 5 client works with the ZEO 4 server

Added an option to test the ZEO 5 client against the ZEO 4
server. This involved making a copy of the ZEO 4 server in
ZEO.tests.ZEO4 and disabling tests of ZEO5-specific features.

Testing revealed bugs in support for ZEO 4 servers, which were fixed.


  Commit: 7cb600519cf6ce76de90c2c187451371dce7fb80
      https://github.com/zopefoundation/ZEO/commit/7cb600519cf6ce76de90c2c187451371dce7fb80
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-03 (Wed, 03 Aug 2016)

  Changed paths:
    M src/ZEO/tests/forker.py

  Log Message:
  -----------
  use a "threadless" multi-processing queue

To avoid spew about threads being left behind by tests.  The normal
multi-processing.Queue uses a thread to send data and the machinery
for stopping this thread seems to be buggy (or inscrutable) on Linux,
causing test runner spew that made output hard to interpret.


  Commit: 9d765e8d2e0ff2faa54b07175b360c2f8e261fb5
      https://github.com/zopefoundation/ZEO/commit/9d765e8d2e0ff2faa54b07175b360c2f8e261fb5
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-03 (Wed, 03 Aug 2016)

  Changed paths:
    M src/ZEO/tests/ZEO4/StorageServer.py
    M src/ZEO/tests/forker.py

  Log Message:
  -----------
  Added a timeout argument to the ZEO4 server (copy)

It turns out the ZEO4 server doesn't shutdown cleanly in tests without
a shorter timeout (like the one I added for ZEO5).

For now, this is just in the copy used in the ZEO5 tests.  If I have
to updatre the copy at some point (hopefully not), then I'll add this
to ZEO4 proper.


  Commit: c7a96bae0c931a4f3f760caa729317467ca963c7
      https://github.com/zopefoundation/ZEO/commit/c7a96bae0c931a4f3f760caa729317467ca963c7
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-03 (Wed, 03 Aug 2016)

  Changed paths:
    M src/ZEO/tests/testConnection.py

  Log Message:
  -----------
  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).


  Commit: 5ba506e7f173370377feb6761b532f86e7681f4d
      https://github.com/zopefoundation/ZEO/commit/5ba506e7f173370377feb6761b532f86e7681f4d
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-03 (Wed, 03 Aug 2016)

  Changed paths:
    M src/ZEO/asyncio/client.py

  Log Message:
  -----------
  Fixed a bug handling ZEO4 invalidations during cache verification

ZEO4 servers can send invalidations out of order with
``getInvalidations`` results, presumably because ``getInvalidations``
didn't get the commit lock.  ZEO4 clients worked around this (maybe
not directly) by queuing invalidations during cache verification.
ZEO5 servers don't send invalidations out of order with
``getInvalidations`` calls and the ZEO5 client didn't need an
invalidation queue, except they do need one to work correctly with
ZEO4 servers. :/


  Commit: 765c3b9f43742c364d754873baa793eda6ff4afc
      https://github.com/zopefoundation/ZEO/commit/765c3b9f43742c364d754873baa793eda6ff4afc
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M src/ZEO/ClientStorage.py
    M src/ZEO/TransactionBuffer.py
    M src/ZEO/asyncio/client.py
    A src/ZEO/tests/ZEO4/README.rst
    A src/ZEO/tests/ZEO4/StorageServer.py
    A src/ZEO/tests/ZEO4/__init__.py
    A src/ZEO/tests/ZEO4/auth/__init__.py
    A src/ZEO/tests/ZEO4/auth/auth_digest.py
    A src/ZEO/tests/ZEO4/auth/base.py
    A src/ZEO/tests/ZEO4/auth/hmac.py
    A src/ZEO/tests/ZEO4/component.xml
    A src/ZEO/tests/ZEO4/hash.py
    A src/ZEO/tests/ZEO4/monitor.py
    A src/ZEO/tests/ZEO4/runzeo.py
    A src/ZEO/tests/ZEO4/schema.xml
    A src/ZEO/tests/ZEO4/zrpc/__init__.py
    A src/ZEO/tests/ZEO4/zrpc/_hmac.py
    A src/ZEO/tests/ZEO4/zrpc/client.py
    A src/ZEO/tests/ZEO4/zrpc/connection.py
    A src/ZEO/tests/ZEO4/zrpc/error.py
    A src/ZEO/tests/ZEO4/zrpc/log.py
    A src/ZEO/tests/ZEO4/zrpc/marshal.py
    A src/ZEO/tests/ZEO4/zrpc/server.py
    A src/ZEO/tests/ZEO4/zrpc/smac.py
    A src/ZEO/tests/ZEO4/zrpc/trigger.py
    M src/ZEO/tests/forker.py
    M src/ZEO/tests/testConnection.py
    M src/ZEO/tests/testZEO.py
    M src/ZEO/tests/test_client_credentials.py
    M src/ZEO/tests/test_client_side_conflict_resolution.py
    M src/ZEO/tests/testssl.py

  Log Message:
  -----------
  Merge pull request #54 from zopefoundation/zeo4-server-support

Zeo4 server support


Compare: https://github.com/zopefoundation/ZEO/compare/96659e2c28f5...765c3b9f4374


More information about the checkins mailing list