From d48f28c72cb7dd30db854abcc29711ea9fd1d08e Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Tue, 18 Jul 2023 18:53:26 -0400 Subject: [PATCH] test: skip watch e2e test on macOS for the moment Fix forthcoming via https://github.com/compose-spec/compose-go/pull/436 which addresses some symlink limitations. These can actually effect other platforms but are most common on macOS because the test creates temporary directories, which are symlinked on macOS. Signed-off-by: Milas Bowman --- pkg/e2e/watch_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/e2e/watch_test.go b/pkg/e2e/watch_test.go index 71641139e..6c7e0e0d7 100644 --- a/pkg/e2e/watch_test.go +++ b/pkg/e2e/watch_test.go @@ -20,6 +20,7 @@ import ( "fmt" "os" "path/filepath" + "runtime" "strings" "sync/atomic" "testing" @@ -33,6 +34,10 @@ import ( ) func TestWatch(t *testing.T) { + if runtime.GOOS == "darwin" { + t.Skip("Test currently broken on macOS due to symlink issues (see compose-go#436)") + } + services := []string{"alpine", "busybox", "debian"} for _, svcName := range services { t.Run(svcName, func(t *testing.T) {