diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-06-02 04:20:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 04:20:06 -0400 |
commit | f27f9de5e668afb50073f125f25f8f61618a5742 (patch) | |
tree | 2f754256eec22b716dd74a34414fb7341833d8ca /pkg/machine/e2e/inspect_test.go | |
parent | 516c95526ab68e4a6e13008d60d0156178c8571c (diff) | |
parent | 8291b51ceb50ca3230aeeeb27930111a27a31290 (diff) | |
download | podman-f27f9de5e668afb50073f125f25f8f61618a5742.tar.gz podman-f27f9de5e668afb50073f125f25f8f61618a5742.tar.bz2 podman-f27f9de5e668afb50073f125f25f8f61618a5742.zip |
Merge pull request #14448 from baude/issue14231
expose podman.sock in machine inspect
Diffstat (limited to 'pkg/machine/e2e/inspect_test.go')
-rw-r--r-- | pkg/machine/e2e/inspect_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/machine/e2e/inspect_test.go b/pkg/machine/e2e/inspect_test.go index 2c9de5664..cdf13bb1a 100644 --- a/pkg/machine/e2e/inspect_test.go +++ b/pkg/machine/e2e/inspect_test.go @@ -2,6 +2,7 @@ package e2e import ( "encoding/json" + "strings" "github.com/containers/podman/v4/pkg/machine" "github.com/containers/podman/v4/pkg/machine/qemu" @@ -86,6 +87,7 @@ var _ = Describe("podman machine stop", func() { var inspectInfo []machine.InspectInfo err = jsoniter.Unmarshal(inspectSession.Bytes(), &inspectInfo) Expect(err).To(BeNil()) + Expect(strings.HasSuffix(inspectInfo[0].ConnectionInfo.PodmanSocket.GetPath(), "podman.sock")) inspect := new(inspectMachine) inspect = inspect.withFormat("{{.Name}}") |