Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 1 commit into from
Dec 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/e2e/profiles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
})
}
Expand Down Expand Up @@ -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())
})
}
Expand Down Expand Up @@ -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())
})
}