Skip to content

Commit

Permalink
Network test: fix podman-remote-rootless corner case
Browse files Browse the repository at this point in the history
[Backport of containers#12297 into v3.4, to fix gating-test failures]

Followup to containers#12229, in which I added a podman unshare for
flake debugging. Turns out that doesn't work in podman-remote.
It was not caught because CI doesn't run podman-remote rootless.

Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed Nov 22, 2021
1 parent 25f35ac commit 36b6bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/system/500-networking.bats
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ load helpers

# FIXME: debugging for #11871
run_podman exec $cid cat /etc/resolv.conf
if is_rootless; then
if is_rootless && ! is_remote; then
run_podman unshare --rootless-cni cat /etc/resolv.conf
fi
ps uxww
Expand Down

0 comments on commit 36b6bf1

Please sign in to comment.