diff --git a/codex-rs/core/tests/suite/remote_env.rs b/codex-rs/core/tests/suite/remote_env.rs index 1f29c5bd3f..52bcfebb6c 100644 --- a/codex-rs/core/tests/suite/remote_env.rs +++ b/codex-rs/core/tests/suite/remote_env.rs @@ -253,7 +253,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 dc2a36e553..4aaf872acc 100644 --- a/codex-rs/core/tests/suite/view_image.rs +++ b/codex-rs/core/tests/suite/view_image.rs @@ -561,7 +561,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?;