summaryrefslogtreecommitdiff
path: root/test/e2e/pause_test.go
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-07-05 14:50:04 -0600
committerEd Santiago <santiago@redhat.com>2022-07-05 15:36:08 -0600
commit4fd5fb97a0f8315a7c5291c6b1a65897c0c937d1 (patch)
tree523dcf7adf7759bbe8140396694b091241c7eae4 /test/e2e/pause_test.go
parentcf747399b13432d000cfd9556a248681363dda2d (diff)
downloadpodman-4fd5fb97a0f8315a7c5291c6b1a65897c0c937d1.tar.gz
podman-4fd5fb97a0f8315a7c5291c6b1a65897c0c937d1.tar.bz2
podman-4fd5fb97a0f8315a7c5291c6b1a65897c0c937d1.zip
e2e tests: cleanup: capitalize CONSTANTS
A number of standard image names were lower-case, leading to confusion in code such as: registry := podman(... , "-n", "registry", registry, ...) ^--- variable ^---- constant Fix a number of those to be capitalized and with _IMAGE suffix: registry := podman(..., REGISTRY_IMAGE Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/e2e/pause_test.go')
-rw-r--r--test/e2e/pause_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/pause_test.go b/test/e2e/pause_test.go
index 566aca07e..d677eddb0 100644
--- a/test/e2e/pause_test.go
+++ b/test/e2e/pause_test.go
@@ -273,7 +273,7 @@ var _ = Describe("Podman pause", func() {
It("Pause a bunch of running containers", func() {
for i := 0; i < 3; i++ {
name := fmt.Sprintf("test%d", i)
- run := podmanTest.Podman([]string{"run", "-dt", "--name", name, nginx})
+ run := podmanTest.Podman([]string{"run", "-dt", "--name", name, NGINX_IMAGE})
run.WaitWithDefaultTimeout()
Expect(run).Should(Exit(0))
@@ -300,7 +300,7 @@ var _ = Describe("Podman pause", func() {
It("Unpause a bunch of running containers", func() {
for i := 0; i < 3; i++ {
name := fmt.Sprintf("test%d", i)
- run := podmanTest.Podman([]string{"run", "-dt", "--name", name, nginx})
+ run := podmanTest.Podman([]string{"run", "-dt", "--name", name, NGINX_IMAGE})
run.WaitWithDefaultTimeout()
Expect(run).Should(Exit(0))