[Checkins] [zopefoundation/ZODB] 4aa621: Relax assertion in check_tid_ordering_w_commit test
Julien Muchembled
noreply at github.com
Wed Aug 19 19:00:11 CEST 2020
Branch: refs/heads/fixup-pr307
Home: https://github.com/zopefoundation/ZODB
Commit: 4aa6218584edc7412ed24470977c7b86243c61cf
https://github.com/zopefoundation/ZODB/commit/4aa6218584edc7412ed24470977c7b86243c61cf
Author: Julien Muchembled <jm at nexedi.com>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M src/ZODB/tests/BasicStorage.py
Log Message:
-----------
Relax assertion in check_tid_ordering_w_commit test
It is pointless for lastTransaction() to block until it is allowed to
return the TID of a transaction that has just been committed, because
it may still not be the real last TID (e.g. for some storage
implementations, invalidations are received from a shared server
via the network). While invalidations are still being processed,
it's fine to return immediately with the previous last TID.
This was clarified in commit 4a6b0283f61427c7a2d8086a271bcdfb1cb53593
("mvccadapter: check if the last TID changed without invalidation").
See pull request #316
More information about the checkins
mailing list