Make ThreadPoolExecutorTest.DynamicThreadsTest not timing-sensitive
Summary: [Folly] Make `ThreadPoolExecutorTest.DynamicThreadsTest` not timing-sensitive. The timing-sensitive version of the test sometimes fails under load, and is observed in some internal `folly-oss` jobs. Rewrite the test to avoid using long sleeps to try to approximate synchronization. Use a barrier and spin-yield loop instead. Differential Revision: D9628339 fbshipit-source-id: fef752ad15dbff853cfa7cbaac1081580007754c
Showing
Please register or sign in to comment