Skip to content

Commit

Permalink
Fix spurious test failure
Browse files Browse the repository at this point in the history
By making an unimportant assertion less restrictive.
  • Loading branch information
Jim Fulton committed Oct 25, 2016
1 parent 7d70244 commit 11eb9fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZEO/tests/testZEO.py
Expand Up @@ -971,8 +971,8 @@ def test_prefetch(self):
>>> conn.close()
>>> conn = ZEO.connection(addr)
>>> storage = conn.db().storage
>>> len(storage._cache)
1
>>> len(storage._cache) <= 1
True
>>> storage.prefetch(oids, conn._storage._start)
The prefetch returns before the cache is filled:
Expand Down

0 comments on commit 11eb9fd

Please sign in to comment.