summaryrefslogtreecommitdiff
path: root/pkg/machine/e2e/machine_test.go
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2022-07-20 13:29:46 -0400
committerMatthew Heon <matthew.heon@pm.me>2022-07-26 13:44:08 -0400
commitd151edeeaf4ce35586952ceef48a0c7c054c583b (patch)
tree7da7864818f2d9c75df7b4f341dc6ae5eb99d5ff /pkg/machine/e2e/machine_test.go
parent86159e39bcaeaa83a1861405f6062896f83af436 (diff)
downloadpodman-d151edeeaf4ce35586952ceef48a0c7c054c583b.tar.gz
podman-d151edeeaf4ce35586952ceef48a0c7c054c583b.tar.bz2
podman-d151edeeaf4ce35586952ceef48a0c7c054c583b.zip
Fix machine test
DownloadVMImage takes an extra argument. Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'pkg/machine/e2e/machine_test.go')
-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())