diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-05 17:52:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 17:52:39 +0100 |
commit | 2157414cf83a3b99accc2f52ac8da3f2f05bd8dd (patch) | |
tree | 5dafd4f151f0085b4a1e77e74903f2cb1f8cac43 /test/utils/utils.go | |
parent | cbb2b68fc9630ef8cadd19674ab591b7fee9c7d0 (diff) | |
parent | f6a3eddd2cbe6434c87cf1db04aaa56aac935e5c (diff) | |
download | podman-2157414cf83a3b99accc2f52ac8da3f2f05bd8dd.tar.gz podman-2157414cf83a3b99accc2f52ac8da3f2f05bd8dd.tar.bz2 podman-2157414cf83a3b99accc2f52ac8da3f2f05bd8dd.zip |
Merge pull request #12168 from mtrmac/socket-collision
Avoid RemoteSocket collisions in e2e tests
Diffstat (limited to 'test/utils/utils.go')
-rw-r--r-- | test/utils/utils.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/utils/utils.go b/test/utils/utils.go index f41024072..1f5067950 100644 --- a/test/utils/utils.go +++ b/test/utils/utils.go @@ -41,6 +41,7 @@ type PodmanTest struct { RemotePodmanBinary string RemoteSession *os.Process RemoteSocket string + RemoteSocketLock string // If not "", should be removed _after_ RemoteSocket is removed RemoteCommand *exec.Cmd ImageCacheDir string ImageCacheFS string @@ -469,10 +470,6 @@ func Containerized() bool { return strings.Contains(string(b), "docker") } -func init() { - rand.Seed(GinkgoRandomSeed()) -} - var randomLetters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") // RandomString returns a string of given length composed of random characters |