mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
Merge pull request #15064 from vrothberg/benchmarks
benchmarks: fix create test
This commit is contained in:
@ -240,7 +240,7 @@ var _ = Describe("Podman Benchmark Suite", func() {
|
|||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
newBenchmark("podman create", func() {
|
newBenchmark("podman create", func() {
|
||||||
session := podmanTest.Podman([]string{"run", ALPINE, "true"})
|
session := podmanTest.Podman([]string{"create", ALPINE, "true"})
|
||||||
session.WaitWithDefaultTimeout()
|
session.WaitWithDefaultTimeout()
|
||||||
Expect(session).Should(Exit(0))
|
Expect(session).Should(Exit(0))
|
||||||
}, nil)
|
}, nil)
|
||||||
@ -262,5 +262,11 @@ var _ = Describe("Podman Benchmark Suite", func() {
|
|||||||
session.WaitWithDefaultTimeout()
|
session.WaitWithDefaultTimeout()
|
||||||
Expect(session).Should(Exit(0))
|
Expect(session).Should(Exit(0))
|
||||||
}, nil)
|
}, nil)
|
||||||
|
|
||||||
|
newBenchmark("podman run --detach", func() {
|
||||||
|
session := podmanTest.Podman([]string{"run", "--detach", ALPINE, "true"})
|
||||||
|
session.WaitWithDefaultTimeout()
|
||||||
|
Expect(session).Should(Exit(0))
|
||||||
|
}, nil)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user