mirror of
https://github.com/containers/podman.git
synced 2025-10-17 11:14:40 +08:00
e2e: yet more cleanup of BeTrue/BeFalse
Thanks to Paul for teaching me about HaveKey() Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -154,8 +154,8 @@ var _ = Describe("Podman restart", func() {
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(Exit(0))
|
||||
timeSince := time.Since(startTime)
|
||||
Expect(timeSince < 10*time.Second).To(BeTrue())
|
||||
Expect(timeSince > 2*time.Second).To(BeTrue())
|
||||
Expect(timeSince).To(BeNumerically("<", 10*time.Second))
|
||||
Expect(timeSince).To(BeNumerically(">", 2*time.Second))
|
||||
})
|
||||
|
||||
It("Podman restart --all", func() {
|
||||
|
Reference in New Issue
Block a user