Просмотр исходного кода

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 <[email protected]>
Milas Bowman 2 лет назад
Родитель
Сommit
d48f28c72c
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      pkg/e2e/watch_test.go

+ 5 - 0
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) {