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 <milas.bowman@docker.com>
This commit is contained in:
Milas Bowman 2023-07-18 18:53:26 -04:00
parent 0938c7e96f
commit d48f28c72c

View File

@ -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) {