test: fix flaky file system integration test (#12724)

Co-authored-by: Hriday Taneja <hridayt@google.com>
This commit is contained in:
Hriday
2025-11-10 06:20:30 +00:00
committed by GitHub
parent c0b766ad74
commit 4ab94dec5e

View File

@@ -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) {