Use remote primary in remote routing tests

Keep both environments available in the routing tests, but make the remote selection primary so remote image/tool handling uses the same turn context as the selected remote tool call.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-05-09 15:47:14 -07:00
parent 486264137c
commit 502fc1219c
2 changed files with 2 additions and 2 deletions

View File

@@ -269,7 +269,7 @@ async fn exec_command_routes_to_selected_remote_environment() -> Result<()> {
"yield_time_ms": 1_000,
"environment_id": REMOTE_ENVIRONMENT_ID,
}),
Some(vec![local_selection, remote_selection]),
Some(vec![remote_selection, local_selection]),
)
.await?;
assert!(

View File

@@ -573,7 +573,7 @@ async fn view_image_routes_to_selected_remote_environment() -> anyhow::Result<()
test.submit_turn_with_environments_no_wait(
"route view image",
Some(vec![local_selection, remote_selection]),
Some(vec![remote_selection, local_selection]),
)
.await?;