[Checkins] [zopefoundation/ZODB] dedd5a: Fix test to no longer depend on what time is

GitHub noreply at github.com
Sun Jul 24 18:59:19 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/ZODB
  Commit: dedd5a2810a315eb4b804552010589136d31aa1c
      https://github.com/zopefoundation/ZODB/commit/dedd5a2810a315eb4b804552010589136d31aa1c
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-07-23 (Sat, 23 Jul 2016)

  Changed paths:
    M src/ZODB/FileStorage/iterator.test

  Log Message:
  -----------
  Fix test to no longer depend on what time is

There's no reason to care.

(And a change in db root-object setup shifted the old test times.)


  Commit: 03b81838a52c4d723c719fb3bed7d7e21a8cd594
      https://github.com/zopefoundation/ZODB/commit/03b81838a52c4d723c719fb3bed7d7e21a8cd594
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-07-23 (Sat, 23 Jul 2016)

  Changed paths:
    M src/ZODB/Connection.py
    M src/ZODB/DB.py
    M src/ZODB/tests/dbopen.txt
    A src/ZODB/tests/fix84.rst
    M src/ZODB/tests/synchronizers.txt
    M src/ZODB/tests/testCache.py
    M src/ZODB/tests/testConnection.py
    M src/ZODB/tests/testDB.py

  Log Message:
  -----------
  Changed DB root-object-initialization to use an open connection and more

This fixes #84.

Also:

- Added missing transaction ``begin`` call in the DB ``transaction()``
  context manager.

- Added the ability to add a transaction note whan calling
  ``transaction()``.  This is useful (as would be the ability to pass
  in other transaction meta data, but this was needed by (and this
  tested) to make an existing test pass.


  Commit: 04efaeccd91e2f854f287340b7951e22b48a7e1b
      https://github.com/zopefoundation/ZODB/commit/04efaeccd91e2f854f287340b7951e22b48a7e1b
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-07-24 (Sun, 24 Jul 2016)

  Changed paths:
    M src/ZODB/tests/dbopen.txt
    M src/ZODB/tests/testCache.py

  Log Message:
  -----------
  Added gc.collect() calls to avoid spurious test failures


  Commit: bda016b12ba9dedadf076d7d32cf9a2f107b9665
      https://github.com/zopefoundation/ZODB/commit/bda016b12ba9dedadf076d7d32cf9a2f107b9665
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-07-24 (Sun, 24 Jul 2016)

  Changed paths:
    M src/ZODB/FileStorage/iterator.test

  Log Message:
  -----------
  Try to mitigate some test fragility


  Commit: af20d2f6e444094fa38ee11194e623b680032408
      https://github.com/zopefoundation/ZODB/commit/af20d2f6e444094fa38ee11194e623b680032408
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-07-24 (Sun, 24 Jul 2016)

  Changed paths:
    M src/ZODB/FileStorage/iterator.test

  Log Message:
  -----------
  Go back to messing with time

Tp get predictiable time specing to avoid spurious failures.


  Commit: 683f7faff4889bf345d689ba04dc5ef8ed056942
      https://github.com/zopefoundation/ZODB/commit/683f7faff4889bf345d689ba04dc5ef8ed056942
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2016-07-24 (Sun, 24 Jul 2016)

  Changed paths:
    M src/ZODB/Connection.py
    M src/ZODB/DB.py
    M src/ZODB/FileStorage/iterator.test
    M src/ZODB/tests/dbopen.txt
    A src/ZODB/tests/fix84.rst
    M src/ZODB/tests/synchronizers.txt
    M src/ZODB/tests/testCache.py
    M src/ZODB/tests/testConnection.py
    M src/ZODB/tests/testDB.py

  Log Message:
  -----------
  Merge pull request #95 from zopefoundation/fix-84

Changed DB root-object-initialization to use an open connection and more


Compare: https://github.com/zopefoundation/ZODB/compare/a3f7d3e4e282...683f7faff488


More information about the checkins mailing list