stabilize native Windows integration gates

This commit is contained in:
Sinabina
2026-07-17 14:41:24 -07:00
parent 6d3eb795e8
commit a8a5fa1aa3
4 changed files with 24 additions and 9 deletions
+7 -1
View File
@@ -27,7 +27,12 @@ async function fixture() {
}
afterEach(async () => {
await Promise.all(temporaryRoots.splice(0).map((root) => fs.rm(root, { recursive: true, force: true })));
await Promise.all(temporaryRoots.splice(0).map((root) => fs.rm(root, {
recursive: true,
force: true,
maxRetries: 5,
retryDelay: 50,
})));
});
describe('gstack state external-effect CLI', () => {
@@ -37,6 +42,7 @@ describe('gstack state external-effect CLI', () => {
const git = async (args: string[], workingDirectory = cwd) => (await execFile('git', args, {
cwd: workingDirectory,
encoding: 'utf8',
timeout: 15_000,
})).stdout.trim();
await git(['init']);
await git(['config', 'user.name', 'GStack Test']);