Fix ChromeBrowserMainBrowserTest.VariationsServiceStartsRequestOnNetworkChange
The browsertest changes in the following CL is moved to this CL since it is not related to the following CL: https://chromium-review.googlesource.com/c/chromium/src/+/1323658/7/chrome/browser/chrome_browser_main_browsertest.cc This CL fixes the ChromeBrowserMainBrowserTest.VariationsServiceStartsRequestOnNetworkChange browser test which failed on the release Builder linux64 machine. For more details, please refer to the following issue link. In the release Builder linux64 machine, the intermediate connection state is CONNECTION_ETHERNET, so in the test it needs to make sure the NetworkConnectionTracker's underlying network connection state is CONNECTION_NONE before it starts to run the actual test code. Bug: 902784 Change-Id: I16866f1fb0e8834dfa621930efa83aba26aa52d0 Reviewed-on: https://chromium-review.googlesource.com/c/1336433 Commit-Queue: Jun Cai <juncai@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Ilya Sherman <isherman@chromium.org> Cr-Commit-Position: refs/heads/master@{#608457}
Showing
Please register or sign in to comment