Skip to content

Commit a9b8a64

Browse files
committed
test(mcp): remove process-group teardown race
1 parent 5c7d195 commit a9b8a64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/mcp/transport/stdio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ mod tests {
445445
) -> StdioTransport {
446446
let args = vec![
447447
"-c".to_string(),
448-
"touch \"$1\"; (sleep 0.30; touch \"$2\") & wait".to_string(),
448+
"(sleep 0.30; : > \"$2\") & : > \"$1\"; wait".to_string(),
449449
"mcp-process-tree-test".to_string(),
450450
started.to_string_lossy().into_owned(),
451451
leaked.to_string_lossy().into_owned(),

0 commit comments

Comments
 (0)