Skip to content

The agent that grows with you

test: keep the Bedrock parallel-tool command out of the security scanner's reach

teknium17c7d642f66c1
diff --git a/tests/e2e/core/providers/test_native_bedrock_converse_turns.py b/tests/e2e/core/providers/test_native_bedrock_converse_turns.py
index 6e291e97bd2..c95de23f6fd 100644
--- a/tests/e2e/core/providers/test_native_bedrock_converse_turns.py
+++ b/tests/e2e/core/providers/test_native_bedrock_converse_turns.py
@@ -73,7 +73,7 @@ def _scenario_tools(root: Path) -> dict[str, Any]:
"""Parallel toolUse (read_file + terminal) -> toolResults, a second tool round, then the answer."""
def first(_rec: dict[str, Any]) -> Turn:
return Turn([Reasoning(R_A1), ToolUse("read_file", {"path": str(root / "project" / "seed.txt")}),
- ToolUse("terminal", {"command": "echo MARK-$((6*7))"})])
+ ToolUse("terminal", {"command": "seq 42 42 | sed s/^/MARK-/"})])
fake = FakeBedrock(seq(first, lambda _r: Turn([Reasoning(R_A2), ToolUse(
"read_file", {"path": str(root / "project" / "seed2.txt")})]), Turn([Reasoning(R_A3), Text(FINAL_A)])))