test/e2e: run system reset test serial

USe the new ginkgo `Serial` decorator to make sure system reset is
never executed in parallel. system reset stops teh rootless pause
process which causes major issues when other process in parallel still
use this old namesapce.

Fixes #17903

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2023-04-17 13:47:51 +02:00
parent c5922cc6f0
commit 054154c77d
2 changed files with 4 additions and 2 deletions

View File

@ -884,7 +884,8 @@ RUN ls /dev/test1`, ALPINE)
Expect(build).To(Exit(0))
})
It("podman system reset must clean host shared cache", func() {
// system reset must run serial: https://github.com/containers/podman/issues/17903
It("podman system reset must clean host shared cache", Serial, func() {
SkipIfRemote("podman-remote does not have system reset -f")
useCustomNetworkDir(podmanTest, tempdir)
podmanTest.AddImageToRWStore(ALPINE)

View File

@ -9,7 +9,8 @@ import (
. "github.com/onsi/gomega/gexec"
)
var _ = Describe("podman system reset", func() {
// system reset must run serial: https://github.com/containers/podman/issues/17903
var _ = Describe("podman system reset", Serial, func() {
var (
tempdir string
err error