Skip to content

Commit 802843e

Browse files
committed
Test
1 parent 0695531 commit 802843e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ jobs:
135135
uses: angular/dev-infra/github-actions/bazel/configure-remote@b3b3466509babc50fd7f00b90e8bc607e7fe41aa
136136
with:
137137
allow_windows_rbe: true
138+
- name: Setup tmate session
139+
uses: mxschmitt/action-tmate@v3
140+
with:
141+
detach: true
138142
- name: Run CLI E2E tests
139143
uses: ./.github/shared-actions/windows-bazel-test
140144
with:

scripts/windows-testing/convert-symlinks.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async function transformDir(p) {
8686
await Promise.all(directoriesToVisit.map((d) => transformDir(d)));
8787
}
8888

89-
function exec(cmd, maxRetries = 2) {
89+
function exec(cmd, maxRetries = 3) {
9090
return new Promise((resolve, reject) => {
9191
childProcess.exec(cmd, { cwd: rootDir }, (error) => {
9292
if (error !== null) {
@@ -119,7 +119,7 @@ try {
119119
// Re-link symlinks to work inside Windows.
120120
// This is done in batches to avoid flakiness due to WSL
121121
// See: https://github.com/microsoft/WSL/issues/8677.
122-
const batchSize = 100;
122+
const batchSize = 75;
123123
for (let i = 0; i < relinkFns.length; i += batchSize) {
124124
await Promise.all(relinkFns.slice(i, i + batchSize).map((fn) => fn()));
125125
}

0 commit comments

Comments
 (0)