aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-07-25 19:23:07 +0200
committerGitHub <noreply@github.com>2022-07-25 19:23:07 +0200
commitb70e2a47887f81af0b32dd6ac362f9c4958f5b7c (patch)
tree07a04a112c35a5b92fdbfdb4a8a793edb65954fd
parentda1f47921685f40f1b26405278cbf9cb2d06fe09 (diff)
parent4d18a98ec2cfb8ff9b567fff84d691571ce23467 (diff)
downloadpodman-b70e2a47887f81af0b32dd6ac362f9c4958f5b7c.tar.gz
podman-b70e2a47887f81af0b32dd6ac362f9c4958f5b7c.tar.bz2
podman-b70e2a47887f81af0b32dd6ac362f9c4958f5b7c.zip
Merge pull request #15064 from vrothberg/benchmarks
benchmarks: fix create test
-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)
})
})