summaryrefslogtreecommitdiff
path: root/test/e2e/login_logout_test.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-01-05 13:10:56 -0600
committerBrent Baude <bbaude@redhat.com>2022-02-02 13:03:45 -0600
commit7d3ad6081f6598b8fa6385409e5109f11f29254f (patch)
treee68f74bfc0393443ee322380fee4940ca043aba3 /test/e2e/login_logout_test.go
parentc2d0011b723428c622b99cf633439f84c4bf901a (diff)
downloadpodman-7d3ad6081f6598b8fa6385409e5109f11f29254f.tar.gz
podman-7d3ad6081f6598b8fa6385409e5109f11f29254f.tar.bz2
podman-7d3ad6081f6598b8fa6385409e5109f11f29254f.zip
netavark e2e tests
enabled e2e tests for netavark Signed-off-by: Brent Baude <bbaude@redhat.com>
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))