Problems running UIDevToolsServerTest.ConnectionToViewsServer (components_unittests)
Reported by
nbis...@neverware.com,
Jan 6
|
|
Issue description
I ran into a couple problems running this test:
components_unittests --gtest_filter=UIDevToolsServerTest.ConnectionToViewsServer
First, the devtools server doesn't seem to start. I fixed this locally by adding a "RunUntilIdle" after the server is created:
std::unique_ptr<UiDevToolsServer> server = UiDevToolsServer::CreateForViews(
network_context_ptr.get(), fake_flag, fake_port);
base::RunLoop run_loop;
run_loop.RunUntilIdle();
I don't have any idea if that's the right way to solve it, however.
Second problem is that the server still failed to start, because it's set to use port 80 and I'm not running as a privileged user. Switching to port 8080 or whatever works, but there's a comment above the port number that says "// Use port 80 to prevent firewall issues". Not sure what that's about.
|
|
►
Sign in to add a comment |
|