Explorar o código

Merge pull request #9933 from laurazard/skip-flaky-test

Skip flaky test in CI `merge` workflow
Laura Brehm %!s(int64=3) %!d(string=hai) anos
pai
achega
2978f1a0bc
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      pkg/e2e/up_test.go

+ 4 - 0
pkg/e2e/up_test.go

@@ -21,6 +21,7 @@ package e2e
 
 
 import (
 import (
 	"context"
 	"context"
+	"os"
 	"os/exec"
 	"os/exec"
 	"syscall"
 	"syscall"
 	"testing"
 	"testing"
@@ -43,6 +44,9 @@ func TestUpServiceUnhealthy(t *testing.T) {
 }
 }
 
 
 func TestUpDependenciesNotStopped(t *testing.T) {
 func TestUpDependenciesNotStopped(t *testing.T) {
+	if _, ok := os.LookupEnv("CI"); ok {
+		t.Skip("Skipping test on CI... flaky")
+	}
 	c := NewParallelCLI(t, WithEnv(
 	c := NewParallelCLI(t, WithEnv(
 		"COMPOSE_PROJECT_NAME=up-deps-stop",
 		"COMPOSE_PROJECT_NAME=up-deps-stop",
 	))
 	))