mirror of
https://github.com/containers/podman.git
synced 2025-10-17 11:14:40 +08:00
test/compose: remove debug leftovers
I noticed these old debug code while looking at a log. These were needed to debug a nasty flake[1] in the compose tests. However it has been fixed[2] for a while and I am not aware of any flakes around that logic so we are good to remove it. I still leave the server logs in there as they may be useful for all kinds of issues and are only printed when the test fails so it does not clutter the logs. [1] https://github.com/containers/podman/issues/10052 [2] https://github.com/containers/podman/pull/11091 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -173,14 +173,6 @@ function test_port() {
|
||||
|
||||
if [ $curl_rc -ne 0 ]; then
|
||||
_show_ok 0 "$testname - curl (port $port) failed with status $curl_rc"
|
||||
echo "# podman ps -a:"
|
||||
$PODMAN_BIN --storage-driver=vfs --root $WORKDIR/root --runroot $WORKDIR/runroot ps -a
|
||||
if type -p ss; then
|
||||
echo "# ss -tulpn:"
|
||||
ss -tulpn
|
||||
echo "# podman unshare --rootless-cni ss -tulpn:"
|
||||
$PODMAN_BIN --storage-driver=vfs --root $WORKDIR/root --runroot $WORKDIR/runroot unshare --rootless-cni ss -tulpn
|
||||
fi
|
||||
echo "# cat $WORKDIR/server.log:"
|
||||
cat $WORKDIR/server.log
|
||||
echo "# cat $logfile:"
|
||||
|
Reference in New Issue
Block a user