fix flaky TimeKeeper unit-test
authorTianjiao Yin <ytj@fb.com>
Thu, 22 Sep 2016 08:06:15 +0000 (01:06 -0700)
committerFacebook Github Bot 0 <facebook-github-bot-0-bot@fb.com>
Thu, 22 Sep 2016 08:08:55 +0000 (01:08 -0700)
commitc1ad77a56bd725605154c4e71a852a3232b95481
treea16c82b078557849d7ae5aa18c2be36e88252c3c
parent2062a6baa4eb25f376077bcb075dcd84295150c4
fix flaky TimeKeeper unit-test

Summary:
Sometime we have such unit-test failure

```
folly/futures/test/TimekeeperTest.cpp:134: Failure
Value of: flag
  Actual: false
Expected: true
```

This diff should make it less flaky, though I am not sure what's the best way to fix this flaky unit-test.

Reviewed By: yfeldblum

Differential Revision: D3889630

fbshipit-source-id: e7486d75fbcb3081d06724d213d4a2cf8942955d
folly/futures/test/TimekeeperTest.cpp