Summary:
When running all folly tests at once, as with
fbconfig -r folly && fbmake runtests
the wangle tests sometimes fail. Enough tests are running that the
1-millisecond timer is too small, and is sometimes missed. Bumping
it to 10 milliseconds.
Test Plan:
fbconfig -r folly && fbmake runtests
Reviewed By: hans@fb.com
Subscribers: sdwilsh, fugalh, njormrod
FB internal diff:
D1568124
Tasks:
5180879
auto t = waitWithSemaphore(std::move(f),
std::chrono::milliseconds(1));
auto end = std::chrono::system_clock::now();
- EXPECT_TRUE( end - begin < std::chrono::milliseconds(2));
+ EXPECT_TRUE( end - begin < std::chrono::milliseconds(5));
EXPECT_FALSE(t.isReady());
}
{