From 7977ee710065282743abdb8dea71ea97dd8d1ced Mon Sep 17 00:00:00 2001 From: Shaojin Wen Date: Fri, 7 Aug 2026 19:51:32 +0800 Subject: [PATCH] fix(tests): avoid blocking Vitest worker in directory E2E Co-authored-by: Qwen-Coder --- integration-tests/cli/list_directory.test.ts | 1 - integration-tests/test-helper.ts | 5 ----- 2 files changed, 6 deletions(-) diff --git a/integration-tests/cli/list_directory.test.ts b/integration-tests/cli/list_directory.test.ts index 3c724ebf06c..31977be2277 100644 --- a/integration-tests/cli/list_directory.test.ts +++ b/integration-tests/cli/list_directory.test.ts @@ -25,7 +25,6 @@ describe('list_directory', () => { await rig.setup('should be able to list a directory'); rig.createFile('file1.txt', 'file 1 content'); rig.mkdir('subdir'); - rig.sync(); await rig.poll( () => { diff --git a/integration-tests/test-helper.ts b/integration-tests/test-helper.ts index 87323d9d60d..5dfa9dda1a2 100644 --- a/integration-tests/test-helper.ts +++ b/integration-tests/test-helper.ts @@ -246,11 +246,6 @@ export class TestRig { mkdirSync(join(this.testDir!, dir), { recursive: true }); } - sync() { - // ensure file system is done before spawning - execSync('sync', { cwd: this.testDir! }); - } - /** * The command and args to use to invoke Qwen Code CLI. Allows us to switch * between using the bundled gemini.js (the default) and using the installed