1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 23:33:07 +00:00

Extend timeout for podman container test.

Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
This commit is contained in:
Paul Whalen 2021-07-07 15:34:52 -04:00 committed by adamwill
parent a7504441de
commit 49987a5e41

View File

@ -20,7 +20,7 @@ sub run {
# create a Dockerfile # create a Dockerfile
assert_script_run 'printf \'FROM registry.fedoraproject.org/fedora:latest\nRUN /usr/bin/dnf install -y httpd\nEXPOSE 80\nCMD ["-D", "FOREGROUND"]\nENTRYPOINT ["/usr/sbin/httpd"]\n\' > Dockerfile'; assert_script_run 'printf \'FROM registry.fedoraproject.org/fedora:latest\nRUN /usr/bin/dnf install -y httpd\nEXPOSE 80\nCMD ["-D", "FOREGROUND"]\nENTRYPOINT ["/usr/sbin/httpd"]\n\' > Dockerfile';
# Build an image # Build an image
assert_script_run 'podman build -t fedora-httpd $(pwd)', 120; assert_script_run 'podman build -t fedora-httpd $(pwd)', 180;
# Verify the image # Verify the image
validate_script_output "podman images", sub { m/fedora-httpd/ }; validate_script_output "podman images", sub { m/fedora-httpd/ };
# Run the container # Run the container