/*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2015-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
baton.post();
});
- ASSERT_TRUE(baton.timed_wait(testInterval(15)));
+ ASSERT_TRUE(baton.try_wait_for(testInterval(15)));
th.join();
}
baton.post();
});
- ASSERT_TRUE(baton.timed_wait(testInterval(15)));
+ ASSERT_TRUE(baton.try_wait_for(testInterval(15)));
th.join();
}
baton.post();
});
- ASSERT_TRUE(baton.timed_wait(testInterval(15)));
+ ASSERT_TRUE(baton.try_wait_for(testInterval(15)));
th.join();
}