mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
Merge pull request #9902 from jmguzik/fix-containers-flaky-bindings-prune-test
Fix bindings prune containers flaky test
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user