Disable podman checkpoint/restore tests
crun is not built against criu-devel. Disable test for now. Resolves: rhbz#1955119
This commit is contained in:
parent
bd5d19fac7
commit
92467b1b63
@ -1,21 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
# crun is not built with checkpoint/restore support
|
||||
exit 0
|
||||
|
||||
set -eux
|
||||
|
||||
ls -la
|
||||
|
||||
echo "Start container with tomcat"
|
||||
podman --log-level debug run --tmpfs /tmp --tmpfs /usr/local/tomcat/logs -d docker://docker.io/yovfiatbeb/podman-criu-test
|
||||
echo "Start container"
|
||||
podman --log-level debug run -d quay.io/adrianreber/counter
|
||||
|
||||
echo "See which containers are running"
|
||||
podman ps
|
||||
|
||||
# tomcat needs some time to start up
|
||||
echo "Wait 15 seconds for tomcat to start"
|
||||
sleep 15
|
||||
|
||||
echo "Connect to tomcat in the container"
|
||||
curl `podman inspect -l | jq -r '.[0].NetworkSettings.IPAddress'`:8080/examples/servlets/servlet/HelloWorldExample -v
|
||||
echo "Connect to the container"
|
||||
curl `podman inspect -l | jq -r '.[0].NetworkSettings.IPAddress'`:8088
|
||||
|
||||
echo "Checkpoint container"
|
||||
podman --log-level debug container checkpoint -l
|
||||
@ -26,7 +25,6 @@ podman --log-level debug container restore -l
|
||||
|
||||
podman ps -a
|
||||
echo "Check if we can connect to the restored container"
|
||||
curl `podman inspect -l | jq -r '.[0].NetworkSettings.IPAddress'`:8080/examples/servlets/servlet/HelloWorldExample -v
|
||||
curl `podman inspect -l | jq -r '.[0].NetworkSettings.IPAddress'`:8088
|
||||
|
||||
ls -la
|
||||
echo test
|
||||
|
Loading…
Reference in New Issue
Block a user