Skip to content

Commit

Permalink
Merge pull request containers#15064 from vrothberg/benchmarks
Browse files Browse the repository at this point in the history
benchmarks: fix create test
  • Loading branch information
openshift-merge-robot authored Jul 25, 2022
2 parents da1f479 + 4d18a98 commit b70e2a4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/e2e/benchmarks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
})
})

0 comments on commit b70e2a4

Please sign in to comment.