diff options
author | Miloslav Trmač <mitr@redhat.com> | 2021-11-03 16:37:49 +0100 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2022-01-03 12:31:47 +0100 |
commit | 90e74e794cc0c2c34112877821ed9ff0e7f51c28 (patch) | |
tree | 07458228d1b4df7b792080cafa62767eb0f0c46f /test/utils | |
parent | ee146a9ab0721ec6fe2c6e3092928c34a9b3b6d7 (diff) | |
download | podman-90e74e794cc0c2c34112877821ed9ff0e7f51c28.tar.gz podman-90e74e794cc0c2c34112877821ed9ff0e7f51c28.tar.bz2 podman-90e74e794cc0c2c34112877821ed9ff0e7f51c28.zip |
Avoid collisions on RemoteSocket paths
Add lock files and re-generate the UUID if we
are not a known-unique user of the socket path.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'test/utils')
-rw-r--r-- | test/utils/utils.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/utils/utils.go b/test/utils/utils.go index f41024072..a73bdb856 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 |