test(bash): defend zero-timeout executor deadline
Signed-off-by: Christian Stewart <christian@aperture.us>
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed `bash` tool `timeout: 0` so it disables the command deadline instead of falling back to the minimum timeout.
|
||||
|
||||
## [16.3.8] - 2026-07-05
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -406,7 +406,7 @@ exit 64
|
||||
if (process.platform === "win32") {
|
||||
return;
|
||||
}
|
||||
const result = await executeBash("sleep 0.1; echo done", { cwd: tempDir, timeout: 0 });
|
||||
const result = await executeBash("sleep 1.2; echo done", { cwd: tempDir, timeout: 0 });
|
||||
expect(result.cancelled).toBe(false);
|
||||
expect(result.output.trim()).toBe("done");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user