ginkgo testing: fix podman usernamespace join

When there is a podman pause process running the local podman ginkgo
tests will join the usernamespace. This because pkg/rootless will
automatically join the ns on startup when possible. To fix this we
need to use the remote build tag which disables that behavior.

However since the remote tag is also used in the e2e test itself we
would always run remote tests which is wrong, this is fixed by using a
new `remote_testing` tag for the test.

see discussion here: https://github.com/containers/podman/pull/16309#discussion_r1006166930

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2022-10-27 15:16:19 +02:00
parent 47bcd10f61
commit d50a55233a
5 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
//go:build !remote
// +build !remote
//go:build !remote_testing
// +build !remote_testing
package integration