Fix machine test

DownloadVMImage takes an extra argument.

Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
Ashley Cui 2022-07-20 13:29:46 -04:00 • committed by Matthew Heon
parent 86159e39bc
commit d151edeeaf

View file

@ -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())