mirror of
https://github.com/containers/podman.git
synced 2025-12-05 04:40:47 +08:00
this default value for podman machine disk sizes is 100GB. On CI platforms where the IO is slow and some operations are not done sparsely, this can really slow things down. if no disk size is provided by the init command in the test suite, we set it to 11G. Signed-off-by: Brent Baude <bbaude@redhat.com>
Working README for running the machine tests
Note: you must not have any machines defined before running tests
Linux
QEMU
make localmachine
Microsoft Windows
HyperV
- Open a powershell as admin
- $env:CONTAINERS_MACHINE_PROVIDER="hyperv"
./winmake localmachine
Note: To run specific test files, add the test files to the end of the winmake command:
./winmake localmachine "basic_test.go start_test.go"
WSL
- Open a powershell as a regular user
- Build and copy win-sshproxy into bin/
./winmake localmachine
Note: To run specific test files, add the test files to the end of the winmake command:
./winmake localmachine "basic_test.go start_test.go"
MacOS
Apple Hypervisor
make podman-remoteexport CONTAINERS_MACHINE_PROVIDER="applehv"export MACHINE_IMAGE="https://fedorapeople.org/groups/podman/testing/applehv/arm64/fedora-coreos-38.20230925.dev.0-applehv.aarch64.raw.gz"make localmachine(AddFOCUS_FILE=basic_test.goto only run basic test)