Commit ef89a7be authored by ahest's avatar ahest Committed by Commit bot

Fix condition in test.

Just noticed that it fails sometimes on our (yandex) bots.
transmitted_start can indeed be equal to the lower bound here.

BUG=

Review-Url: https://codereview.chromium.org/2558633008
Cr-Commit-Position: refs/heads/master@{#437536}
parent e0219ebe
...@@ -1993,7 +1993,7 @@ TEST_F(RenderViewImplTest, RendererNavigationStartTransmittedToBrowser) { ...@@ -1993,7 +1993,7 @@ TEST_F(RenderViewImplTest, RendererNavigationStartTransmittedToBrowser) {
ProcessAndReadIPC<FrameHostMsg_DidStartProvisionalLoad>(); ProcessAndReadIPC<FrameHostMsg_DidStartProvisionalLoad>();
base::TimeTicks transmitted_start = std::get<1>(host_nav_params); base::TimeTicks transmitted_start = std::get<1>(host_nav_params);
EXPECT_FALSE(transmitted_start.is_null()); EXPECT_FALSE(transmitted_start.is_null());
EXPECT_LT(lower_bound_navigation_start, transmitted_start); EXPECT_LE(lower_bound_navigation_start, transmitted_start);
} }
// Checks that a browser-initiated navigation in an initial document that was // Checks that a browser-initiated navigation in an initial document that was
......
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