OSDN Git Service

[libcxx testing] Remove ALLOW_RETRIES from last futures test
authorDavid Zarzycki <dave@znu.io>
Sat, 16 May 2020 11:08:42 +0000 (07:08 -0400)
committerDavid Zarzycki <dave@znu.io>
Sat, 16 May 2020 11:11:49 +0000 (07:11 -0400)
commit3f66bb20174eb6d1f7689eeb5fbd19128d504063
tree8f239093491fe2d984f26c880b3b4e96743318c6
parent13d44b2a0c7ef404b13b16644765977cd5310fe2
[libcxx testing] Remove ALLOW_RETRIES from last futures test

Like other uses of ALLOW_RETRIES, this test tried to verify that an API
returned "quickly" but quick is not safe to define given slow and/or
busy machines.

Instead, we now verify that these "wait" APIs actually wait, which the
old test did not.
libcxx/test/std/thread/futures/futures.unique_future/wait_for.pass.cpp