mirror of
				https://github.com/containers/podman.git
				synced 2025-11-01 02:42:11 +08:00 
			
		
		
		
	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:
		| @ -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) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Brent Baude
					Brent Baude