aboutsummaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-17 21:46:21 +0000
committerGitHub <noreply@github.com>2022-08-17 21:46:21 +0000
commitf63da351f2be70a8d39dfed9554371f27e1780a1 (patch)
treee110f1ededb39c49f1ead16af4b71148d2448e12 /test/e2e
parent188d8703070936f9de7a8e499f5af8ad5a41147d (diff)
parent546bb3548ce9af58ebf0a627eb66ea7ad2163c6b (diff)
downloadpodman-f63da351f2be70a8d39dfed9554371f27e1780a1.tar.gz
podman-f63da351f2be70a8d39dfed9554371f27e1780a1.tar.bz2
podman-f63da351f2be70a8d39dfed9554371f27e1780a1.zip
Merge pull request #15364 from rhatdan/stats
Add podman stats --no-trunc option
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/stats_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/stats_test.go b/test/e2e/stats_test.go
index 3000a819f..981c00316 100644
--- a/test/e2e/stats_test.go
+++ b/test/e2e/stats_test.go
@@ -79,9 +79,10 @@ var _ = Describe("Podman stats", func() {
session := podmanTest.RunTopContainer("")
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- session = podmanTest.Podman([]string{"stats", "--all", "--no-stream", "--format", "\"{{.ID}}\""})
+ session = podmanTest.Podman([]string{"stats", "--all", "--no-trunc", "--no-stream", "--format", "\"{{.ID}}\""})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
+ Expect(len(session.OutputToStringArray()[0])).Should(BeEquivalentTo(66))
})
It("podman stats with GO template", func() {