mirror of https://github.com/containers/podman.git
Merge pull request #15064 from vrothberg/benchmarks
benchmarks: fix create test
This commit is contained in:
commit
b70e2a4788
|
@ -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