diff options
author | Ulises Mendez Martinez <umendez@google.com> | 2024-03-26 11:49:31 +0000 |
---|---|---|
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-03-26 14:55:16 +0000 |
commit | 1c553f9d24673c63cf2edce978a276d035fa6e84 (patch) | |
tree | 149e448d156eb5d9125f6e29b6630a1dc8c8517c | |
parent | b8974744b02d92dc96b438d47bc10a877f8d76ac (diff) | |
download | build-1c553f9d24673c63cf2edce978a276d035fa6e84.tar.gz |
Kleaf: testing: Prevent connection timeout issues
* This sends periodical pings to prevent idle connections.
* Additionally retries the event upload when it failed due to a RPC
timeout.
Bug: 326036291
Change-Id: I2b7b2f0cc371a19b3647e60c49e33706d7c3a398
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
-rw-r--r-- | kleaf/bazelrc/ants.bazelrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kleaf/bazelrc/ants.bazelrc b/kleaf/bazelrc/ants.bazelrc index 90ee4bc4..40c729ac 100644 --- a/kleaf/bazelrc/ants.bazelrc +++ b/kleaf/bazelrc/ants.bazelrc @@ -26,6 +26,11 @@ test:ants --bes_keywords=android-test-storage test:ants --bes_instance_name=android-build-farm test:ants --build_metadata=run_type=critical +# Prevent timeout errors. +test:ants --grpc_keepalive_time=30s +test:ants --experimental_build_event_upload_max_retries=100 + + # Show URI to test results test:ants --build_metadata=generate_test_uri=fusion |