Skip to content

Commit 97d9a23

Browse files
committed
fix(transport): skip unix socket tests when local feature is enabled
The local feature causes ().serve(transport) to use spawn_local, which requires a LocalSet. Gate the integration tests with not(feature = "local") to match every other integration test in the repo.
1 parent 95df9b8 commit 97d9a23

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

crates/rmcp/tests/test_unix_socket_transport.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#![cfg(all(unix, feature = "transport-streamable-http-client-unix-socket"))]
1+
#![cfg(all(
2+
unix,
3+
feature = "transport-streamable-http-client-unix-socket",
4+
not(feature = "local")
5+
))]
26

37
use std::{collections::HashMap, sync::Arc};
48

0 commit comments

Comments
 (0)