diff --git a/codex-rs/core/tests/suite/remote_env.rs b/codex-rs/core/tests/suite/remote_env.rs index 73fe8a1c79..278e4906a1 100644 --- a/codex-rs/core/tests/suite/remote_env.rs +++ b/codex-rs/core/tests/suite/remote_env.rs @@ -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!( diff --git a/codex-rs/core/tests/suite/view_image.rs b/codex-rs/core/tests/suite/view_image.rs index 29b754d973..d3df085e0c 100644 --- a/codex-rs/core/tests/suite/view_image.rs +++ b/codex-rs/core/tests/suite/view_image.rs @@ -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?;