Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7759c86

Browse files
committed
skip exp mcp test on non-linux
1 parent c034b6f commit 7759c86

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cli/exp_mcp_test.go

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package cli_test
33
import (
44
"context"
55
"encoding/json"
6+
"runtime"
67
"slices"
78
"testing"
89

@@ -18,6 +19,11 @@ import (
1819
func TestExpMcp(t *testing.T) {
1920
t.Parallel()
2021

22+
// Reading to / writing from the PTY is flaky on non-linux systems.
23+
if runtime.GOOS != "linux" {
24+
t.Skip("skipping on non-linux")
25+
}
26+
2127
t.Run("AllowedTools", func(t *testing.T) {
2228
t.Parallel()
2329

0 commit comments

Comments
 (0)