Skip to content

Commit

Permalink
Merge pull request #10829 from milas/e2e-watch-test-fix
Browse files Browse the repository at this point in the history
test: watch e2e reliability tweaks
  • Loading branch information
glours committed Jul 19, 2023
2 parents 5159058 + ddceb1a commit 150b88a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/e2e/watch_test.go
Expand Up @@ -20,6 +20,7 @@ import (
"fmt"
"os"
"path/filepath"
"runtime"
"strings"
"sync/atomic"
"testing"
Expand All @@ -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) {
Expand Down Expand Up @@ -63,7 +68,7 @@ func doTest(t *testing.T, svcName string) {
"COMPOSE_PROJECT_NAME=" + projName,
}

cli := NewParallelCLI(t, WithEnv(env...))
cli := NewCLI(t, WithEnv(env...))

cleanup := func() {
cli.RunDockerComposeCmd(t, "down", svcName, "--timeout=0", "--remove-orphans", "--volumes")
Expand Down

0 comments on commit 150b88a

Please sign in to comment.