Skip to content

Commit 2b97f35

Browse files
fix: skip test on windows
1 parent 96a39b7 commit 2b97f35

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

agent/agentcontainers/api_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3822,6 +3822,10 @@ func TestDevcontainerDiscovery(t *testing.T) {
38223822
func TestDevcontainerPrebuildSupport(t *testing.T) {
38233823
t.Parallel()
38243824

3825+
if runtime.GOOS == "windows" {
3826+
t.Skip("Dev Container tests are not supported on Windows")
3827+
}
3828+
38253829
var (
38263830
ctx = testutil.Context(t, testutil.WaitShort)
38273831
logger = testutil.Logger(t)
@@ -3839,6 +3843,7 @@ func TestDevcontainerPrebuildSupport(t *testing.T) {
38393843
WorkspaceFolder: "/home/coder/coder",
38403844
ConfigPath: "/home/coder/coder/.devcontainer/devcontainer.json",
38413845
}
3846+
38423847
testContainer = newFakeContainer("test-container-id", testDC.ConfigPath, testDC.WorkspaceFolder)
38433848

38443849
prebuildOwner = "prebuilds"

0 commit comments

Comments
 (0)