Skip to content

Commit 3d3a32d

Browse files
committed
fix(github-actions): set the number of flaky test attempts on CI RBE executions
1 parent 08d451f commit 3d3a32d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

github-actions/bazel/configure-remote/configure-remote.js

Lines changed: 2 additions & 3 deletions
Large diffs are not rendered by default.

github-actions/bazel/configure-remote/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function main() {
3535

3636
if (bazelRcPath) {
3737
let content = await readFileGracefully(bazelRcPath);
38-
content += `\nbuild --config=${configMode}`;
38+
content += ['', `build --config=${configMode}`, 'test --flaky_test_attempts=3'].join('\n');
3939
if (trustedBuild) {
4040
content += `\nbuild --config=trusted-build`;
4141
}

0 commit comments

Comments
 (0)