folly/fibers/test/FibersTest.cpp: accommodate ASAN's detect_stack_use_after_return=1
Summary: With ASAN enabled (actually, only with ASAN *and* its detect_stack_use_after_return=1 option), the addTaskFinally test would fail. This adapts to accommodate the larger stack offsets. Also, use EXPECT_GT and EXPECT_LT rather than EXPECT_TRUE. Reviewed By: yfeldblum Differential Revision: D6353666 fbshipit-source-id: 39e04caffa7b24cde97c749686c7e651a071dcec
Showing
Please register or sign in to comment