Fix regression in e2e machine test suite

A simple regression was introduced to the test suite that overrode the
default image for hyperv testing.

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2023-12-05 12:58:17 -06:00
parent a64cc98179
commit 1ebd507fbf
6 changed files with 28 additions and 17 deletions

View File

@ -6,21 +6,10 @@ import (
"os/exec"
"github.com/containers/podman/v4/pkg/machine"
. "github.com/onsi/ginkgo/v2"
)
func getDownloadLocation(p machine.VirtProvider) string {
dd, err := p.NewDownload("")
if err != nil {
Fail("unable to create new download")
}
fcd, err := dd.GetFCOSDownload(defaultStream)
if err != nil {
Fail("unable to get virtual machine image")
}
return fcd.Location
return getFCOSDownloadLocation(p)
}
func pgrep(n string) (string, error) {