aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2022-07-20 13:29:46 -0400
committerAshley Cui <acui@redhat.com>2022-07-20 13:29:46 -0400
commit139d65be82f6df29b0a18ead101ff1d39e1f1d46 (patch)
tree74515a9740822d78659da1262f0e5e4c25bc3280 /pkg/machine
parent8c9eff5b12eebe318be1f905562be6a236285caa (diff)
downloadpodman-139d65be82f6df29b0a18ead101ff1d39e1f1d46.tar.gz
podman-139d65be82f6df29b0a18ead101ff1d39e1f1d46.tar.bz2
podman-139d65be82f6df29b0a18ead101ff1d39e1f1d46.zip
Fix machine test
DownloadVMImage takes an extra argument. Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'pkg/machine')
-rw-r--r--pkg/machine/e2e/machine_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/machine/e2e/machine_test.go b/pkg/machine/e2e/machine_test.go
index 7b063937d..93eabdad3 100644
--- a/pkg/machine/e2e/machine_test.go
+++ b/pkg/machine/e2e/machine_test.go
@@ -57,7 +57,7 @@ var _ = BeforeSuite(func() {
Fail(fmt.Sprintf("unable to create url for download: %q", err))
}
now := time.Now()
- if err := machine.DownloadVMImage(getMe, fqImageName+".xz"); err != nil {
+ if err := machine.DownloadVMImage(getMe, suiteImageName, fqImageName+".xz"); err != nil {
Fail(fmt.Sprintf("unable to download machine image: %q", err))
}
fmt.Println("Download took: ", time.Since(now).String())