[Checkins] [zopefoundation/ZODB] a432d9: Relax assertion in check_tid_ordering_w_commit test
Julien Muchembled
noreply at github.com
Fri Jun 12 13:41:17 CEST 2020
Branch: refs/heads/fixup-pr307
Home: https://github.com/zopefoundation/ZODB
Commit: a432d92b7948e53acc0d7719e170a6a7eb1d09e5
https://github.com/zopefoundation/ZODB/commit/a432d92b7948e53acc0d7719e170a6a7eb1d09e5
Author: Julien Muchembled <jm at nexedi.com>
Date: 2020-06-12 (Fri, 12 Jun 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 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").
More information about the checkins
mailing list