]> granicus.if.org Git - python/commit
Backout the last hack and add in this new one.
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 5 Mar 2006 02:16:12 +0000 (02:16 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 5 Mar 2006 02:16:12 +0000 (02:16 +0000)
commit5bab0f887295beeb8aad1b252863b93fd4f07f6a
tree12cffa96a0e597031a9fdb1885a59437023d34d0
parent83cbb24cd4d7ae3b6737956ee1b6471bc322b8fa
Backout the last hack and add in this new one.
The failure definitely seems timing related.  This change *seems* to work.
Since the failure isn't doesn't occur consistently, it's hard to tell.

Running these tests on Solaris in this order:
test_urllibnet test_operator test_cgi \
test_isinstance test_future test_ast test_logging

generally caused a failure (about 50% of the time) before the sleep.
I couldn't provoke the failure with the sleep.

This should really be cleaned up by using threading.Events or something
so it is not timing dependent and doesn't hang forever on failure.
Lib/test/test_logging.py