mirror of https://github.com/containers/podman.git
Fix machine test
DownloadVMImage takes an extra argument. Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
parent
8c9eff5b12
commit
139d65be82
|
@ -57,7 +57,7 @@ var _ = BeforeSuite(func() {
|
||||||
Fail(fmt.Sprintf("unable to create url for download: %q", err))
|
Fail(fmt.Sprintf("unable to create url for download: %q", err))
|
||||||
}
|
}
|
||||||
now := time.Now()
|
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))
|
Fail(fmt.Sprintf("unable to download machine image: %q", err))
|
||||||
}
|
}
|
||||||
fmt.Println("Download took: ", time.Since(now).String())
|
fmt.Println("Download took: ", time.Since(now).String())
|
||||||
|
|
Loading…
Reference in New Issue