Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5686fc9

Browse files
authored
chore: skip chdir template push test on windows (#6890)
Seehttps://github.com/coder/coder/actions/runs/4565958214/jobs/8057842941
1 parent401b927 commit5686fc9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎cli/templatepush_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"context"
66
"os"
77
"path/filepath"
8+
"runtime"
89
"testing"
910

1011
"github.com/google/uuid"
@@ -158,6 +159,10 @@ func TestTemplatePush(t *testing.T) {
158159
// This test modifies the working directory.
159160
//nolint:paralleltest
160161
t.Run("UseWorkingDir",func(t*testing.T) {
162+
ifruntime.GOOS=="windows" {
163+
t.Skip(`On Windows this test flakes with: "The process cannot access the file because it is being used by another process"`)
164+
}
165+
161166
client:=coderdtest.New(t,&coderdtest.Options{IncludeProvisionerDaemon:true})
162167
user:=coderdtest.CreateFirstUser(t,client)
163168
version:=coderdtest.CreateTemplateVersion(t,client,user.OrganizationID,nil)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp