diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-07-25 17:33:54 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-07-26 14:43:08 -0400 |
commit | b339045db5c6d0f7d1994ef41412eef80bf5e542 (patch) | |
tree | 3a7a8d0f2205bda62ce1a99ae6d6b546ed1bfa72 /test | |
parent | fd1f5f55ab2b098d8b59d86c0aded15e8f11f392 (diff) | |
download | podman-b339045db5c6d0f7d1994ef41412eef80bf5e542.tar.gz podman-b339045db5c6d0f7d1994ef41412eef80bf5e542.tar.bz2 podman-b339045db5c6d0f7d1994ef41412eef80bf5e542.zip |
benchmarks: fix create test
And a new one for `run --detach`.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/benchmarks_test.go | 8 |
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) }) }) |