[Checkins] [zopefoundation/ZODB] 48d96c: Close test connection

GitHub noreply at github.com
Wed Feb 8 17:00:03 CET 2017


  Branch: refs/heads/storage-afterCompletion2
  Home:   https://github.com/zopefoundation/ZODB
  Commit: 48d96cc9a6a575f757fb306b0fd753e4ce3a3340
      https://github.com/zopefoundation/ZODB/commit/48d96cc9a6a575f757fb306b0fd753e4ce3a3340
  Author: Jim Fulton <jim at zope.com>
  Date:   2017-02-08 (Wed, 08 Feb 2017)

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

  Log Message:
  -----------
  Close test connection

For safety, closing the database aborts transaction managers
associated with open connections.  In explicit mode, this can lead to
NoTransaction errors.

It's likely a bug for DB objects to abort transactons on
close.  This needs more thought.




More information about the checkins mailing list