Commit ae0447fa authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

[test] Allow two timing output to be the same

some time the output of these two could be the same
if machine is fast enough.

Change-Id: I1d9c0191657abae3d053517d45059065df2d44dc
Reviewed-on: https://chromium-review.googlesource.com/911873Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#51247}
parent 7034d34d
......@@ -611,7 +611,7 @@ TEST_F(RuntimeCallStatsTest, FunctionLengthGetter) {
EXPECT_EQ(1, getter_counter->count());
EXPECT_EQ(2, js_counter->count());
EXPECT_LE(0, getter_counter->time().InMicroseconds());
EXPECT_LT(js_time, js_counter->time().InMicroseconds());
EXPECT_LE(js_time, js_counter->time().InMicroseconds());
{
NativeTimeScope native_timer_scope;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment