mirror of
https://github.com/docker/compose.git
synced 2025-07-22 21:24:38 +02:00
Skip some tests in CI due to flakiness
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
118b4f07e5
commit
a1984ca1de
@ -135,6 +135,9 @@ func TestDownComposefileInParentFolder(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestAttachRestart(t *testing.T) {
|
func TestAttachRestart(t *testing.T) {
|
||||||
|
if _, ok := os.LookupEnv("CI"); ok {
|
||||||
|
t.Skip("Skipping test on CI... flaky")
|
||||||
|
}
|
||||||
c := NewParallelCLI(t)
|
c := NewParallelCLI(t)
|
||||||
|
|
||||||
cmd := c.NewDockerComposeCmd(t, "--ansi=never", "--project-directory", "./fixtures/attach-restart", "up")
|
cmd := c.NewDockerComposeCmd(t, "--ansi=never", "--project-directory", "./fixtures/attach-restart", "up")
|
||||||
|
@ -21,6 +21,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@ -29,6 +30,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestPause(t *testing.T) {
|
func TestPause(t *testing.T) {
|
||||||
|
if _, ok := os.LookupEnv("CI"); ok {
|
||||||
|
t.Skip("Skipping test on CI... flaky")
|
||||||
|
}
|
||||||
cli := NewParallelCLI(t, WithEnv(
|
cli := NewParallelCLI(t, WithEnv(
|
||||||
"COMPOSE_PROJECT_NAME=e2e-pause",
|
"COMPOSE_PROJECT_NAME=e2e-pause",
|
||||||
"COMPOSE_FILE=./fixtures/pause/compose.yaml"))
|
"COMPOSE_FILE=./fixtures/pause/compose.yaml"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user