[py-dev] Intermittent errors on py/misc/testing/test_cache.py

Grig Gheorghiu grig at gheorghiu.net
Wed May 11 01:05:43 CEST 2005


I sometimes get this error on a WinXP box:

    def test_cache_eviction(self):
        self.cache.getorbuild(17, lambda: 17)
        py.std.time.sleep(self.maxsecs*1.3)
E       assert self.cache.getentry(17) is None
>       AssertionError

[C:\py\py\misc\testing\test_cache.py:55]
[modulepath: TestAging().test_cache_eviction]

It happens pretty consistently, but not all the time.

I haven't seen it yet on Win2K Pro or Red Hat 9.

Grig




More information about the Pytest-dev mailing list