mirror of
https://github.com/openai/codex.git
synced 2026-05-16 17:23:57 +00:00
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:
@@ -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!(
|
||||
|
||||
@@ -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?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user