diff options
author | Matej Vasek <mvasek@redhat.com> | 2021-02-01 21:23:44 +0100 |
---|---|---|
committer | Matej Vasek <mvasek@redhat.com> | 2021-02-03 21:49:09 +0100 |
commit | fc385806dfe1d13a7d4e4bdaeea93a22a55bd3d4 (patch) | |
tree | 1551262302d3cf31740cfd3474d150e1c2b21422 /pkg/bindings/test/attach_test.go | |
parent | 570e1587dde267adea7fe460086dffee6aec83a4 (diff) | |
download | podman-fc385806dfe1d13a7d4e4bdaeea93a22a55bd3d4.tar.gz podman-fc385806dfe1d13a7d4e4bdaeea93a22a55bd3d4.tar.bz2 podman-fc385806dfe1d13a7d4e4bdaeea93a22a55bd3d4.zip |
Improve ContainerEngine.ContainerWait()
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg/bindings/test/attach_test.go')
-rw-r--r-- | pkg/bindings/test/attach_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/test/attach_test.go b/pkg/bindings/test/attach_test.go index 9a46f6309..771b2d528 100644 --- a/pkg/bindings/test/attach_test.go +++ b/pkg/bindings/test/attach_test.go @@ -75,7 +75,7 @@ var _ = Describe("Podman containers attach", func() { Expect(err).ShouldNot(HaveOccurred()) wait := define.ContainerStateRunning - _, err = containers.Wait(bt.conn, ctnr.ID, new(containers.WaitOptions).WithCondition(wait)) + _, err = containers.Wait(bt.conn, ctnr.ID, new(containers.WaitOptions).WithCondition([]define.ContainerStatus{wait})) Expect(err).ShouldNot(HaveOccurred()) tickTock := time.NewTimer(2 * time.Second) |