Fix Coro.Sleep test for opt builds
Summary: Optimized builds of //folly/experimental/coro test Coro.Sleep would almost always fail because the compiler would generate code that would only sleep for 0.98 seconds. Perform some simple rounding in order to ignore slight optimizations like these. Reviewed By: wqfish Differential Revision: D7496416 fbshipit-source-id: f81ff30922fbf3e5d2086fde50f4a469bdf72e51
Showing
Please register or sign in to comment