]> granicus.if.org Git - python/commit
Issue #20910: Make tests more reliable, less dependent on time
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 17 Mar 2014 23:39:04 +0000 (00:39 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 17 Mar 2014 23:39:04 +0000 (00:39 +0100)
commit1e48eb3b9bce45e596af16cf09930b1c239d7c9d
tree5d0ba195e5272626240aa7355fd850da8c188bdd
parentf8cbf78bbdd88daeb47ee07cd3f26bb83efe7b8e
Issue #20910: Make tests more reliable, less dependent on time

* Tolerate 10 seconds instead of 3 seconds for slow test
* Faster test, use sleep of 100 ms instead of 1 sec
* Replace a number of iterations with an explicit deadline for the timeout
Lib/test/fork_wait.py
Lib/test/test_docxmlrpc.py
Lib/test/test_fork1.py
Lib/test/test_wait3.py
Lib/test/test_wait4.py