mirror of
https://github.com/containers/podman.git
synced 2025-06-25 20:26:51 +08:00
Merge pull request #18527 from edsantiago/wait_for_systemd_activate
e2e: stop podman.service test: wait for server
This commit is contained in:
@ -4,6 +4,7 @@ import (
|
||||
"errors"
|
||||
"io/fs"
|
||||
"net"
|
||||
"net/url"
|
||||
"os"
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
@ -77,6 +78,7 @@ var _ = Describe("Systemd activate", func() {
|
||||
|
||||
activateSession := testUtils.StartSystemExec(activate, systemdArgs)
|
||||
Expect(activateSession.Exited).ShouldNot(Receive(), "Failed to start podman service")
|
||||
WaitForService(url.URL{Scheme: "tcp", Host: addr})
|
||||
defer activateSession.Signal(syscall.SIGTERM)
|
||||
|
||||
// Create custom functions for running podman and
|
||||
|
Reference in New Issue
Block a user