[libcxx testing] Remove ALLOW_RETRIES from sleep_for.pass.cpp
authorDavid Zarzycki <dave@znu.io>
Tue, 12 May 2020 10:44:37 +0000 (06:44 -0400)
committerDavid Zarzycki <dave@znu.io>
Tue, 12 May 2020 10:55:11 +0000 (06:55 -0400)
commit9e32bf550d13ffbc75671c0968b466e0e5c9dea2
treefeea3a002f4e0251937dd285eb185923740cd63c
parent077d2d6802efefe6680cbae78f90e90ef7f04134
[libcxx testing] Remove ALLOW_RETRIES from sleep_for.pass.cpp

Operating systems are best effort by default, so we cannot assume that
sleep-like APIs return as soon as we'd like.

Even if a sleep-like API returns when we want it to, the potential for
preemption means that attempts to measure time are subject to delays.
libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp