summaryrefslogtreecommitdiff
path: root/pkg/bindings/test
diff options
context:
space:
mode:
authorJakub Guzik <jakubmguzik@gmail.com>2021-03-31 13:40:19 +0200
committerJakub Guzik <jakubmguzik@gmail.com>2021-03-31 13:40:55 +0200
commite174a8b5da0ab33a04ee6c95426d0061c7dafd69 (patch)
tree484f9998e453362bdbcfaee102110c1abbcbd41c /pkg/bindings/test
parentdbb7009e5586d41a5b64806ae5fb664dc77c7bdb (diff)
downloadpodman-e174a8b5da0ab33a04ee6c95426d0061c7dafd69.tar.gz
podman-e174a8b5da0ab33a04ee6c95426d0061c7dafd69.tar.bz2
podman-e174a8b5da0ab33a04ee6c95426d0061c7dafd69.zip
Fix bindings prune containers flaky test
In #9863 prune containers filter params were narrowed to support only those required by http API. name filter in bindings was replaced by until filter, which is not a good match, as until filters are causing tests to be flaky. Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com>
Diffstat (limited to 'pkg/bindings/test')
-rw-r--r--pkg/bindings/test/containers_test.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/bindings/test/containers_test.go b/pkg/bindings/test/containers_test.go
index cb9e0721b..4f049d18b 100644
--- a/pkg/bindings/test/containers_test.go
+++ b/pkg/bindings/test/containers_test.go
@@ -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() {