mirror of
https://github.com/containers/podman.git
synced 2025-11-28 17:18:58 +08:00
fake images: windows hyperv
this pr is a follow on to #27493. it adds support for hyperv "fake" images and suggests a benefit in terms of test speed. for hyperv, we create a generic 4MB vhdx and stick it into the temp dir. this saves us from any image copy or compression. i also followed up on a few comments Paul made about using windows|unix instead of each platform. Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
package e2e_test
|
||||
|
||||
import "os"
|
||||
|
||||
const podmanBinary = "../../../bin/podman-remote"
|
||||
|
||||
var fakeImagePath string = os.DevNull
|
||||
|
||||
func (i *initMachine) withFakeImage(_ *machineTestBuilder) *initMachine {
|
||||
i.image = fakeImagePath
|
||||
return i
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user