Files
podman/pkg/machine/e2e
Brent Baude 446df4379f machine e2e : set default disk size to 11
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>
2023-12-13 12:14:42 -06:00
..
2023-08-17 15:00:35 -04:00
2023-02-11 18:23:24 +01:00
2023-12-12 08:30:03 -06:00
2023-09-26 07:26:44 -05:00
2023-12-11 08:10:47 -06:00
2023-05-02 11:27:35 +02:00
2023-09-25 16:48:35 -04:00
2023-09-26 07:00:45 -05:00

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

  1. Open a powershell as admin
  2. $env:CONTAINERS_MACHINE_PROVIDER="hyperv"
  3. ./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

  1. Open a powershell as a regular user
  2. Build and copy win-sshproxy into bin/
  3. ./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

  1. make podman-remote
  2. export CONTAINERS_MACHINE_PROVIDER="applehv"
  3. export MACHINE_IMAGE="https://fedorapeople.org/groups/podman/testing/applehv/arm64/fedora-coreos-38.20230925.dev.0-applehv.aarch64.raw.gz"
  4. make localmachine (Add FOCUS_FILE=basic_test.go to only run basic test)