commit | 5ae83bc362f969fe2262bffe7e78a513868903ff | [log] [tgz] |
---|---|---|
author | Julian Pastarmov <pastarmovj@chromium.org> | Fri Feb 15 15:14:04 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 15 15:14:04 2019 |
tree | cb8e74ac5f7433f0d5c921feb5e5775d4b8c1b77 | |
parent | e7add99a7150ff2a2fd203ec84e2335c523c8312 [diff] |
Make the PolicyPathParser more reliable on MacOS. The ${machine_name} variable would sporadically fail to resolve on try bots. This change make it revert to "localhost" if the actual host name can not be resolved. This behavior will be also better for customers rather than leaving the possibly invalid path containing ${machine_name} verbatim. BUG=327520 TEST=PolicyPathParserTests.AllPlatformVariables not flaking anymore Change-Id: I9b931e301ac73703aa7fe7cb7a623daa112ae8c3 Reviewed-on: https://chromium-review.googlesource.com/c/1475490 Reviewed-by: Owen Min <zmin@chromium.org> Commit-Queue: Julian Pastarmov <pastarmovj@chromium.org> Cr-Commit-Position: refs/heads/master@{#632618}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .