diff options
Diffstat (limited to 'test/e2e/top_test.go')
-rw-r--r-- | test/e2e/top_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/e2e/top_test.go b/test/e2e/top_test.go index 410803353..4b4cb47e4 100644 --- a/test/e2e/top_test.go +++ b/test/e2e/top_test.go @@ -71,10 +71,10 @@ var _ = Describe("Podman top", func() { }) It("podman top on container invalid options", func() { - sleep := podmanTest.RunSleepContainer("") - sleep.WaitWithDefaultTimeout() - Expect(sleep.ExitCode()).To(Equal(0)) - cid := sleep.OutputToString() + top := podmanTest.RunTopContainer("") + top.WaitWithDefaultTimeout() + Expect(top.ExitCode()).To(Equal(0)) + cid := top.OutputToString() result := podmanTest.Podman([]string{"top", cid, "-o time"}) result.WaitWithDefaultTimeout() |