Skip to content

Commit ba7e989

Browse files
committed
Test
1 parent 0695531 commit ba7e989

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/shared-actions/windows-bazel-test/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ runs:
2222
with:
2323
wsl_firewall_interface: 'vEthernet (WSL (Hyper-V firewall))'
2424

25+
- name: Setup tmate session
26+
uses: mxschmitt/action-tmate@v3
27+
2528
- name: Installing pnpm (in WSL)
2629
run: npm install -g pnpm@9
2730
shell: wsl-bash {0}

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)