Explorar el Código

Skip flaky test in CI

Signed-off-by: Laura Brehm <[email protected]>
Laura Brehm hace 3 años
padre
commit
dd13299ede
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      pkg/e2e/up_test.go

+ 4 - 0
pkg/e2e/up_test.go

@@ -21,6 +21,7 @@ package e2e
 
 import (
 	"context"
+	"os"
 	"os/exec"
 	"syscall"
 	"testing"
@@ -43,6 +44,9 @@ func TestUpServiceUnhealthy(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(
 		"COMPOSE_PROJECT_NAME=up-deps-stop",
 	))