pull/20510/head
Jan Tattermusch 5 years ago committed by GitHub
parent eb137ea519
commit 13843be76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/security/credentials_test.cc

@ -1443,7 +1443,7 @@ static void test_get_well_known_google_credentials_file_path(void) {
bool restore_home_env = false;
#if defined(GRPC_BAZEL_BUILD) && \
(defined(GPR_POSIX_ENV) || defined(GPR_LINUX_ENV))
// when running under bazel with locally, the HOME variable is not set
// when running under bazel locally, the HOME variable is not set
// so we set it to some fake value
restore_home_env = true;
gpr_setenv("HOME", "/fake/home/for/bazel");

Loading…
Cancel
Save