mirror of
https://github.com/containers/podman.git
synced 2025-10-14 01:35:29 +08:00
e2e test cleanup
- fix a typo that was resulting in a test being a NOP, and add actual testing to it. - fix two Expects() with incorrectly-ordered actual/expects - remove leading whitespace from an It() test name - To(BeTrue()) is evil. Wherever possible, replace it with useful string or field checks. When not possible, use the annotation field to indicate what failed. I got carried away here, #sorrynotsorry - remove unused system-test code Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -49,7 +49,7 @@ var _ = Describe("Podman run restart containers", func() {
|
||||
It("Podman start after signal kill", func() {
|
||||
_ = podmanTest.RunTopContainer("test1")
|
||||
ok := WaitForContainer(podmanTest)
|
||||
Expect(ok).To(BeTrue())
|
||||
Expect(ok).To(BeTrue(), "test1 container started")
|
||||
|
||||
killSession := podmanTest.Podman([]string{"kill", "-s", "9", "test1"})
|
||||
killSession.WaitWithDefaultTimeout()
|
||||
|
Reference in New Issue
Block a user