[Checkins] [zopefoundation/ZODB] f08b40: windows: fix failures due to low-precision of time...

GitHub noreply at github.com
Sat Jun 11 22:59:22 CEST 2016


  Branch: refs/heads/winbot-failures
  Home:   https://github.com/zopefoundation/ZODB
  Commit: f08b40e17b0f1b7b39029856f2be3941ee8ff8f7
      https://github.com/zopefoundation/ZODB/commit/f08b40e17b0f1b7b39029856f2be3941ee8ff8f7
  Author: Julien Muchembled <jm at jmuchemb.eu>
  Date:   2016-06-11 (Sat, 11 Jun 2016)

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

  Log Message:
  -----------
  windows: fix failures due to low-precision of time.time()

This fixes the following random failure:

Failure in test checkBaseHistory (ZODB.tests.testDemoStorage.DemoStorageTests)
Traceback (most recent call last):
  File "unittest\case.py", line 384, in _executeTestPart
    function()
  File "ZODB\tests\testDemoStorage.py", line 96, in checkBaseHistory
    self._checkHistory(base_only())
  File "ZODB\tests\HistoryStorage.py", line 46, in _checkHistory
    self.assertLess(a, b)
  File "unittest\case.py", line 1026, in assertLess
    self.fail(self._formatMessage(msg, standardMsg))
  File "unittest\case.py", line 508, in fail
    raise self.failureException(msg)
AssertionError: 1465433823.260304 not less than 1465433823.260304


  Commit: acefaba33a913440144727d8637df4b8e0ed1f78
      https://github.com/zopefoundation/ZODB/commit/acefaba33a913440144727d8637df4b8e0ed1f78
  Author: Julien Muchembled <jm at jmuchemb.eu>
  Date:   2016-06-11 (Sat, 11 Jun 2016)

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

  Log Message:
  -----------
  windows: disable FileStorageTests.checkFlushNeededAfterTruncate


Compare: https://github.com/zopefoundation/ZODB/compare/f08b40e17b0f^...acefaba33a91


More information about the checkins mailing list