From 4ab94dec5e7d92f0d8b7012218cd896e03ca7693 Mon Sep 17 00:00:00 2001 From: Hriday <48129645+hritan@users.noreply.github.com> Date: Mon, 10 Nov 2025 06:20:30 +0000 Subject: [PATCH] test: fix flaky file system integration test (#12724) Co-authored-by: Hriday Taneja --- integration-tests/file-system.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration-tests/file-system.test.ts b/integration-tests/file-system.test.ts index 6bceca3b09..a056a2d1dd 100644 --- a/integration-tests/file-system.test.ts +++ b/integration-tests/file-system.test.ts @@ -98,7 +98,9 @@ describe('file-system', () => { await rig.setup('should correctly handle file paths with spaces'); const fileName = 'my test file.txt'; - const result = await rig.run(`write "hello" to "${fileName}"`); + const result = await rig.run( + `write "hello" to "${fileName}" and then stop. Do not perform any other actions.`, + ); const foundToolCall = await rig.waitForToolCall('write_file'); if (!foundToolCall) {