Skip to content

Commit ae65588

Browse files
committed
[ci] Limit test run times when running remotely
1 parent 79c1a4c commit ae65588

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.bazelrc

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,6 @@ build:remote --experimental_credential_helper=%workspace%/scripts/credential-hel
126126
# Use pinned browsers when running remotely
127127
build:remote --//common:pin_browsers
128128

129-
# Extend the remote config for CI
130-
build:remote-ci --config=remote
131-
build:remote-ci --curses=no --color=yes --show_timestamps --show_progress_rate_limit=5
132-
build:remote-ci --bes_upload_mode=wait_for_upload_complete
133-
134129
# The remote build machines are pretty small, and 50 threads may leave them
135130
# thrashing, but our dev machines are a lot larger. Scale the workload so we
136131
# make reasonable usage of everything, everywhere, all at once.
@@ -139,3 +134,11 @@ build:remote --local_ram_resources='HOST_RAM*4.0'
139134

140135
# A small hint that we're running our tests remotely
141136
test:remote --test_env=REMOTE_BUILD=1
137+
138+
# Wait for up to 5 minutes for a test to pass
139+
test:remote --test_timeout=600
140+
141+
# Extend the remote config for CI
142+
build:remote-ci --config=remote
143+
build:remote-ci --curses=no --color=yes --show_timestamps --show_progress_rate_limit=5
144+
build:remote-ci --bes_upload_mode=wait_for_upload_complete

0 commit comments

Comments
 (0)