Ran
|
Files
51
|
Run time
14s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/zopefoundation/ZODB/commit/<a class=hub.com/zopefoundation/ZODB/commit/<a class="double-link" href="https://git"><a class=hub.com/zopefoundation/ZODB/commit/<a class="double-link" href="https://git"><a class=hub.com/zopefoundation/ZODB/commit/<a class="double-link" href="https://git"><a class=hub.com/zopefoundation/ZODB/commit/e95d8d4ecdb6131bf4d9cf7994bd1498a5a57f5f">e95d8d4ec<a href="https://github.com/zopefoundation/ZODB/commit/e95d8d4ecdb6131bf4d9cf7994bd1498a5a57f5f">">&lt;a href=&quot;https://github.com/zopefoundation/ZODB/commit/</a><a class="double-link" href="https://github.com/zopefoundation/ZODB/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/zopefoundation/ZODB/commit/e95d8d4ecdb6131bf4d9cf7994bd1498a5a57f5f">e95d8d4ec</a><a href="https://github.com/zopefoundation/ZODB/commit/e95d8d4ecdb6131bf4d9cf7994bd1498a5a57f5f">&lt;a href=&quot;https://github.com/zopefoundation/ZODB/commit/e95d8d4ecdb6131bf4d9cf7994bd1498a5a57f5f&quot;&gt;&amp;quot;&amp;gt;mvccadapter: check if the last TID changed without i</a>nvalidation Since commit </a><a class="double-link" href="https://github.com/zopefoundation/ZODB/commit/<a class="double-link" href="https://github.com/zopefoundation/ZODB/commit/<a class="double-link" href="https://github.com/zopefoundation/ZODB/commit/b5895a5c23309ff2dfe8fd853b838a0c5e349210">b5895a5c2</a>">b5895a5c2</a>">b5895a5c2</a><a href="https://github.com/zopefoundation/ZODB/commit/e95d8d4ecdb6131bf4d9cf7994bd1498a5a57f5f"> (&quot;mvccadapter: fix race with invalidations when starting a new transaction&quot;), a ZEO test fails as follows: File &quot;src/ZEO/tests/drop_cache_rather_than_verify.txt&quot;, line 114, in drop_cache_rather_than_verify.txt Failed example: conn.root()[1].x Expected: 6 Got: 1 Earlier in the test, the ZEO server is restarted and then another client commits. When disconnected, the first client does not receive invalidations anymore and the connection gets stuck in the past until there&#39;s a new commit after it reconnected. It was possible to make the test pass with the following patch: --- a/src/ZEO/ClientStorage.py +++ b/src/ZEO/ClientStorage.py @@ -357,6 +357,7 @@ def notify_connected(self, conn, info): # invalidate our db cache if self._db is not None: + ... (continued)
6470 of 8569 relevant lines covered (75.5%)
0.76 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|