Skip to content

Commit

Permalink
Fix more "podman-default-kube-network" flakes
Browse files Browse the repository at this point in the history
...in "built using Dockerfile" test and "play kube fail with
custom selinux label" test. The latter, since it's in a test
file with lots of other kube tests, I just put into BeforeEach().

References: Issue #17946, PR #18085

Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed Apr 20, 2023
1 parent 911be1c commit 4486891
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/play_build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ LABEL marge=mom
`

It("Check that image is built using Dockerfile", func() {
useCustomNetworkDir(podmanTest, tempdir)
// Setup
yamlDir := filepath.Join(tempdir, RandomString(12))
err := os.Mkdir(yamlDir, 0755)
Expand Down
1 change: 1 addition & 0 deletions test/e2e/play_kube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1868,6 +1868,7 @@ var _ = Describe("Podman play kube", func() {
}
podmanTest = PodmanTestCreate(tempdir)
podmanTest.Setup()
useCustomNetworkDir(podmanTest, tempdir)
kubeYaml = filepath.Join(podmanTest.TempDir, "kube.yaml")
})

Expand Down

0 comments on commit 4486891

Please sign in to comment.