From 45d410670cbf966df7ccd51affa88921a3e45dce Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Thu, 30 Mar 2023 15:17:11 +0000 Subject: [PATCH] chore: skip chdir template push test on windows See https://github.com/coder/coder/actions/runs/4565958214/jobs/8057842941 --- cli/templatepush_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cli/templatepush_test.go b/cli/templatepush_test.go index 56db595e83b19..d0efa329968bb 100644 --- a/cli/templatepush_test.go +++ b/cli/templatepush_test.go @@ -5,6 +5,7 @@ import ( "context" "os" "path/filepath" + "runtime" "testing" "github.com/google/uuid" @@ -158,6 +159,10 @@ func TestTemplatePush(t *testing.T) { // This test modifies the working directory. //nolint:paralleltest t.Run("UseWorkingDir", func(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip(`On Windows this test flakes with: "The process cannot access the file because it is being used by another process"`) + } + client := coderdtest.New(t, &coderdtest.Options{IncludeProvisionerDaemon: true}) user := coderdtest.CreateFirstUser(t, client) version := coderdtest.CreateTemplateVersion(t, client, user.OrganizationID, nil) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy