提交 d115da70 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Switch debug_grpc_testlib to bind on localhost

Since there are no multi-machine tests, this is likely preferable from a
security standpoint to binding to all interfaces, and sidesteps the question of
cross-platform compatibility (some platforms may have IPV6_V6ONLY enabled by
default).
Change: 150358613
上级 424662da
......@@ -68,7 +68,7 @@ GrpcTestServerClientPair::GrpcTestServerClientPair(const int server_port)
}
// Obtain server's gRPC url.
test_server_url = strings::StrCat("grpc://[::]:", server_port);
test_server_url = strings::StrCat("grpc://localhost:", server_port);
// Obtain dump directory for the stream server.
string tmp_dir = port::Tracing::LogDir();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册