benchmarks: fix create test
And a new one for `run --detach`. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
parent
da1f479216
commit
4d18a98ec2
|
|
@ -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)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue