gclient: Use the correct bot hostnames to enable experimental deletion behavior

BUG=skia:1638

Review URL: https://codereview.chromium.org/132313017

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250524 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
borenet@google.com 11 years ago
parent d9839e8e7a
commit 7bfa4d8d84

@ -680,9 +680,8 @@ class Dependency(gclient_utils.WorkItem, DependencySettings):
# doesn't cause the bots to break.
if not os.environ.get('CHROME_HEADLESS'):
return False
hostname = socket.gethostname()
logging.warning('Hostname of this machine: %s' % hostname)
return hostname in ('vm859-m1', 'build1-m1', 'vm630-m1')
return socket.gethostname() in ('vm859-m1', 'BUILD1-M1',
'vm630-m1.golo.chromium.org')
# When updating, determine whether the destination directory contains a
# checkout of the desired repository. If not, avoid conflicts by

@ -1396,7 +1396,8 @@ class GClientSmokeBoth(GClientSmokeBase):
# TODO(borenet): Enable this at the same time that the guard is removed in
# gclient.
if (os.environ.get('CHROME_HEADLESS') and
socket.gethostname() in ('vm859-m1', 'build1-m1', 'vm630-m1')):
socket.gethostname() in ('vm859-m1', 'BUILD1-M1',
'vm630-m1.golo.chromium.org')):
def testDeleteConflictingCheckout(self):
if not self.enabled:
return

Loading…
Cancel
Save