Fix timeout in spec/arb_sync/repeat-wait
commit4d0063de5905fd565c5aea0b00e9ab92af0f81b8
authorJesse Natalie <jenatali@microsoft.com>
Tue, 15 Dec 2020 19:22:07 +0000 (15 11:22 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 16 Dec 2020 20:21:07 +0000 (16 20:21 +0000)
tree368b42b57a5a27109ab016d6a721108010380fc0
parent2125a7fbcef4ac160e17eb50790690c57ab3349b
Fix timeout in spec/arb_sync/repeat-wait

The timeouts are specified in nanoseconds. The previous definition
of ONE_SECOND was one millisecond, not one second. Add some extra
0s to make the timeout correct.

Also delete the unused incorrect timeout definition from neighboring
timeout-zero test.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/433>
tests/spec/arb_sync/repeat-wait.c
tests/spec/arb_sync/timeout-zero.c