summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author andusyu <andusyu@google.com> 2022-10-13 18:34:08 -0400
committer Andus Yu <andusyu@google.com> 2022-10-13 23:19:50 +0000
commit838086f57a782509d07bdad4dc48ba5aba769844 (patch)
tree4aff802f748c40fb109f3e394cefc15da3d036a7 /java/java_test.go
parentc34d91436ae629169c0f1ef9aab374fee6a0612c (diff)
Fail the build before calling bootstrap if LOAS credentials are missing.
The build currently waits for bootstrap to return an error before failing. This means if the user does not have LOAS credentials, they will need to wait for boostrap to attempt to start reproxy (~10s) and the gcert timeout time (5-10s), which will take ~20s to return an error and fail the build. Test: - Ran m with no gcert and build failed in 2s - Ran RBE_use_google_prod_creds=false RBE_use_external_auth_token=false RBE_use_application_default_credentials=true m with no gcert and reproxy started Bug: b/251425073 Change-Id: Id7fe3d6095f083643aaf0ab8f32a34b7961c61e8
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions