Commit 11eb9fd0 authored by Jim Fulton's avatar Jim Fulton

Fix spurious test failure

By making an unimportant assertion less restrictive.
parent 7d70244f
...@@ -971,8 +971,8 @@ def test_prefetch(self): ...@@ -971,8 +971,8 @@ def test_prefetch(self):
>>> conn.close() >>> conn.close()
>>> conn = ZEO.connection(addr) >>> conn = ZEO.connection(addr)
>>> storage = conn.db().storage >>> storage = conn.db().storage
>>> len(storage._cache) >>> len(storage._cache) <= 1
1 True
>>> storage.prefetch(oids, conn._storage._start) >>> storage.prefetch(oids, conn._storage._start)
The prefetch returns before the cache is filled: The prefetch returns before the cache is filled:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment