Skip to content

Commit 601dd8e

Browse files
committed
skip test on non-linux
1 parent c689934 commit 601dd8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cli/exp_rpty_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package cli_test
22

33
import (
44
"fmt"
5+
"runtime"
56
"testing"
67

78
"github.com/ory/dockertest/v3"
@@ -58,6 +59,10 @@ func TestExpRpty(t *testing.T) {
5859

5960
t.Run("Container", func(t *testing.T) {
6061
t.Parallel()
62+
// Skip this test on non-Linux platforms since it requires Docker
63+
if runtime.GOOS != "linux" {
64+
t.Skip("Skipping test on non-Linux platform")
65+
}
6166

6267
client, workspace, agentToken := setupWorkspaceForAgent(t)
6368
ctx := testutil.Context(t, testutil.WaitLong)

0 commit comments

Comments
 (0)