mirror of
https://github.com/containers/podman.git
synced 2025-10-29 08:57:26 +08:00
Add support for retrieving system service --timeout
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -59,6 +59,7 @@ no_hosts=true
|
||||
[engine]
|
||||
|
||||
network_cmd_options=["allow_host_loopback=true"]
|
||||
service_timeout=1234
|
||||
|
||||
# We need to ensure each test runs on a separate plugin instance...
|
||||
# For now, let's just make a bunch of plugin paths and have each test use one.
|
||||
|
||||
@ -444,4 +444,12 @@ var _ = Describe("Podman run", func() {
|
||||
Expect(session).Should(Exit(0))
|
||||
Expect(session.ErrorToString()).To(ContainSubstring("invalid image_copy_tmp_dir"))
|
||||
})
|
||||
|
||||
It("podman system sevice --help shows (default 20)", func() {
|
||||
SkipIfRemote("this test is only for local")
|
||||
result := podmanTest.Podman([]string{"system", "service", "--help"})
|
||||
result.WaitWithDefaultTimeout()
|
||||
Expect(result).Should(Exit(0))
|
||||
Expect(result.OutputToString()).To(ContainSubstring("(default 1234)"))
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user