fix a bug in the EventBase tests
Summary: This test was accidentally updating `timestamp1` twice rather than updating `timestamp0`. The existing check for `timestamp0` only succeeded because `timestamp0` was never actually updated. With the current EventBase behavior, even though we asked the function to be scheduled immediately, it actually ends up waiting for a full HHWheelTimer tick interval (10ms by default) before it runs. Update the check to take this into account. Reviewed By: yfeldblum Differential Revision: D15462318 fbshipit-source-id: e1851c9c4f2e082ad73debf85343d99bbf244b23
Showing
Please register or sign in to comment