]> granicus.if.org Git - php/commit
Add some tolerance to time_sleep_until() test
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 1 Jul 2019 07:43:16 +0000 (09:43 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 1 Jul 2019 07:43:16 +0000 (09:43 +0200)
commit5c0a9a4096081b7256dcf5410cce2ae03ffbe041
tree2ccfdd7e8dc3d049abc41288678cd41f69cb23c7
parent736172d23d99f90420b917ec8b7999bd56e7ca1c
Add some tolerance to time_sleep_until() test

This has been sporadically failing on macos for a while. We've tried
a couple of things (using int arithmetic, normalizing to gettimeofday),
but this issue remains. I'm adding some tolerance to the test to
avoid CI failures.
ext/standard/tests/misc/time_sleep_until_basic.phpt