diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-11-02 12:51:10 +0100 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-11-12 11:08:25 -0500 |
commit | dd6551055a39eb338cdcc8691436aabc0aabf62d (patch) | |
tree | 50e495cbcc3ab244eefbc2d4ce31b0d980406282 /test/e2e/common_test.go | |
parent | df9e0fdcb055412d066cb240575cdf013ae281d8 (diff) | |
download | podman-dd6551055a39eb338cdcc8691436aabc0aabf62d.tar.gz podman-dd6551055a39eb338cdcc8691436aabc0aabf62d.tar.bz2 podman-dd6551055a39eb338cdcc8691436aabc0aabf62d.zip |
test: run --cgroups=split in new cgroup
the --cgroups=split test changes the current cgroup as it creates a
sub-cgroup. This can cause a race condition in tests that are reading
the current cgroup.
Closes: https://github.com/containers/podman/issues/11191
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r-- | test/e2e/common_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index 20ed72c59..dbf51f4e4 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -685,7 +685,7 @@ func SkipIfContainerized(reason string) { // PodmanAsUser is the exec call to podman on the filesystem with the specified uid/gid and environment func (p *PodmanTestIntegration) PodmanAsUser(args []string, uid, gid uint32, cwd string, env []string) *PodmanSessionIntegration { - podmanSession := p.PodmanAsUserBase(args, uid, gid, cwd, env, false, false, nil) + podmanSession := p.PodmanAsUserBase(args, uid, gid, cwd, env, false, false, nil, nil) return &PodmanSessionIntegration{podmanSession} } |