Merge pull request #17522 from jtattermusch/highsierra_kokoro_time

prevent setting wrong time on macos high sierra kokoro workers
pull/17542/head
Jan Tattermusch 6 years ago committed by GitHub
commit 3a9b8ae390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      tools/internal_ci/helper_scripts/prepare_build_macos_rc

@ -19,14 +19,6 @@
launchctl limit maxfiles
ulimit -a
# synchronize the clock
date
sudo systemsetup -setusingnetworktime off
sudo systemsetup -setnetworktimeserver "$( ipconfig getoption en0 server_identifier )"
sudo systemsetup -settimezone America/Los_Angeles
sudo systemsetup -setusingnetworktime on
date
# Add GCP credentials for BQ access
pip install google-api-python-client oauth2client --user python
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/GrpcTesting-d0eeee2db331.json

Loading…
Cancel
Save