Browse Source

check only running containers in after down tests of profiles e2e tests

Signed-off-by: Guillaume Lours <[email protected]>
Guillaume Lours 2 years ago
parent
commit
95bc6c58b7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      pkg/e2e/profiles_test.go

+ 3 - 3
pkg/e2e/profiles_test.go

@@ -75,7 +75,7 @@ func TestExplicitProfileUsage(t *testing.T) {
 	})
 
 	t.Run("check containers after down", func(t *testing.T) {
-		res := c.RunDockerCmd(t, "ps", "--all")
+		res := c.RunDockerCmd(t, "ps")
 		assert.Assert(t, !strings.Contains(res.Combined(), projectName), res.Combined())
 	})
 }
@@ -125,7 +125,7 @@ func TestNoProfileUsage(t *testing.T) {
 	})
 
 	t.Run("check containers after down", func(t *testing.T) {
-		res := c.RunDockerCmd(t, "ps", "--all")
+		res := c.RunDockerCmd(t, "ps")
 		assert.Assert(t, !strings.Contains(res.Combined(), projectName), res.Combined())
 	})
 }
@@ -181,7 +181,7 @@ func TestActiveProfileViaTargetedService(t *testing.T) {
 	})
 
 	t.Run("check containers after down", func(t *testing.T) {
-		res := c.RunDockerCmd(t, "ps", "--all")
+		res := c.RunDockerCmd(t, "ps")
 		assert.Assert(t, !strings.Contains(res.Combined(), projectName), res.Combined())
 	})
 }