Skip to content

Commit

Permalink
Merge pull request #9902 from jmguzik/fix-containers-flaky-bindings-p…
Browse files Browse the repository at this point in the history
…rune-test

Fix bindings prune containers flaky test
  • Loading branch information
openshift-merge-robot authored Mar 31, 2021
2 parents e5f0869 + e174a8b commit 24a0262
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkg/bindings/test/containers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,15 +568,6 @@ var _ = Describe("Podman containers ", func() {
Expect(err).To(BeNil())
Expect(len(reports.PruneReportsIds(pruneResponse))).To(Equal(0))
Expect(len(reports.PruneReportsErrs(pruneResponse))).To(Equal(0))

// Valid filter params container should be pruned now.
filters := map[string][]string{
"until": {"0s"},
}
pruneResponse, err = containers.Prune(bt.conn, new(containers.PruneOptions).WithFilters(filters))
Expect(err).To(BeNil())
Expect(len(reports.PruneReportsErrs(pruneResponse))).To(Equal(0))
Expect(len(reports.PruneReportsIds(pruneResponse))).To(Equal(1))
})

It("podman prune running containers", func() {
Expand Down

0 comments on commit 24a0262

Please sign in to comment.