summaryrefslogtreecommitdiff
path: root/test/e2e/common_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r--test/e2e/common_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go
index 1aeeca4cb..5a6cf7ffb 100644
--- a/test/e2e/common_test.go
+++ b/test/e2e/common_test.go
@@ -321,11 +321,11 @@ func (p *PodmanTestIntegration) createArtifact(image string) {
if _, err := os.Stat(destName); os.IsNotExist(err) {
pull := p.PodmanNoCache([]string{"pull", image})
pull.Wait(440)
- Expect(pull.ExitCode()).To(Equal(0))
+ Expect(pull).Should(Exit(0))
save := p.PodmanNoCache([]string{"save", "-o", destName, image})
save.Wait(90)
- Expect(save.ExitCode()).To(Equal(0))
+ Expect(save).Should(Exit(0))
fmt.Printf("\n")
} else {
fmt.Printf(" already exists.\n")