summaryrefslogtreecommitdiff
path: root/test/e2e/login_logout_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-02-02 16:41:26 -0500
committerGitHub <noreply@github.com>2022-02-02 16:41:26 -0500
commit89f71177aa4b00ee47245787ec5b5370a500d090 (patch)
tree2e04e1b684b7dbe3f36cbb1351afe6acd34def6a /test/e2e/login_logout_test.go
parentb4c96535ead19e9f10d9b244c83d299cc3b1d42e (diff)
parent7d3ad6081f6598b8fa6385409e5109f11f29254f (diff)
downloadpodman-89f71177aa4b00ee47245787ec5b5370a500d090.tar.gz
podman-89f71177aa4b00ee47245787ec5b5370a500d090.tar.bz2
podman-89f71177aa4b00ee47245787ec5b5370a500d090.zip
Merge pull request #12859 from baude/netavarke2e
Enable e2e tests with netavark
Diffstat (limited to 'test/e2e/login_logout_test.go')
-rw-r--r--test/e2e/login_logout_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/e2e/login_logout_test.go b/test/e2e/login_logout_test.go
index 3d0f44dc1..1280b3e83 100644
--- a/test/e2e/login_logout_test.go
+++ b/test/e2e/login_logout_test.go
@@ -11,7 +11,6 @@ import (
. "github.com/containers/podman/v4/test/utils"
. "github.com/onsi/ginkgo"
- "github.com/onsi/ginkgo/config"
. "github.com/onsi/gomega"
. "github.com/onsi/gomega/gexec"
)
@@ -24,7 +23,6 @@ var _ = Describe("Podman login and logout", func() {
authPath string
certPath string
certDirPath string
- port int
server string
testImg string
registriesConfWithSearch []byte
@@ -62,7 +60,7 @@ var _ = Describe("Podman login and logout", func() {
f.WriteString(session.OutputToString())
f.Sync()
- port = 4999 + config.GinkgoConfig.ParallelNode
+ port := GetPort()
server = strings.Join([]string{"localhost", strconv.Itoa(port)}, ":")
registriesConfWithSearch = []byte(fmt.Sprintf("[registries.search]\nregistries = ['%s']", server))