mirror of
https://github.com/containers/podman.git
synced 2025-10-17 11:14:40 +08:00
Examine all SkipIfRemote functions
Remove ones that are not needed. Document those that should be there. Document those that should be fixed. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -122,7 +122,6 @@ var _ = Describe("Podman restart", func() {
|
||||
})
|
||||
|
||||
It("Podman restart the latest container", func() {
|
||||
SkipIfRemote()
|
||||
_, exitCode, _ := podmanTest.RunLsContainer("test1")
|
||||
Expect(exitCode).To(Equal(0))
|
||||
|
||||
@ -132,7 +131,11 @@ var _ = Describe("Podman restart", func() {
|
||||
startTime := podmanTest.Podman([]string{"inspect", "--format='{{.State.StartedAt}}'", "test1", "test2"})
|
||||
startTime.WaitWithDefaultTimeout()
|
||||
|
||||
session := podmanTest.Podman([]string{"restart", "-l"})
|
||||
cid := "-l"
|
||||
if IsRemote() {
|
||||
cid = "test2"
|
||||
}
|
||||
session := podmanTest.Podman([]string{"restart", cid})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
restartTime := podmanTest.Podman([]string{"inspect", "--format='{{.State.StartedAt}}'", "test1", "test2"})
|
||||
|
Reference in New Issue
Block a user