aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-07-25 17:33:54 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-07-25 17:44:13 +0200
commit4d18a98ec2cfb8ff9b567fff84d691571ce23467 (patch)
tree07a04a112c35a5b92fdbfdb4a8a793edb65954fd
parentda1f47921685f40f1b26405278cbf9cb2d06fe09 (diff)
downloadpodman-4d18a98ec2cfb8ff9b567fff84d691571ce23467.tar.gz
podman-4d18a98ec2cfb8ff9b567fff84d691571ce23467.tar.bz2
podman-4d18a98ec2cfb8ff9b567fff84d691571ce23467.zip
benchmarks: fix create test
And a new one for `run --detach`. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
-rw-r--r--test/e2e/benchmarks_test.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/e2e/benchmarks_test.go b/test/e2e/benchmarks_test.go
index fe045b97a..4be048de2 100644
--- a/test/e2e/benchmarks_test.go
+++ b/test/e2e/benchmarks_test.go
@@ -240,7 +240,7 @@ var _ = Describe("Podman Benchmark Suite", func() {
// --------------------------------------------------------------------------
newBenchmark("podman create", func() {
- session := podmanTest.Podman([]string{"run", ALPINE, "true"})
+ session := podmanTest.Podman([]string{"create", ALPINE, "true"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
}, nil)
@@ -262,5 +262,11 @@ var _ = Describe("Podman Benchmark Suite", func() {
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
}, nil)
+
+ newBenchmark("podman run --detach", func() {
+ session := podmanTest.Podman([]string{"run", "--detach", ALPINE, "true"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+ }, nil)
})
})