diff options
author | Brent Baude <bbaude@redhat.com> | 2020-05-20 12:49:55 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-05-20 13:02:18 -0500 |
commit | ce24e1139c63b35ddc2c6b176e5701de1dc9f8b5 (patch) | |
tree | 4e14cca7c4f9c795bdd83008b66d0bf1680c37e2 /pkg/bindings/test | |
parent | 09f8f14b4f7d09946d3d5cfc5460ec9923f7da59 (diff) | |
download | podman-ce24e1139c63b35ddc2c6b176e5701de1dc9f8b5.tar.gz podman-ce24e1139c63b35ddc2c6b176e5701de1dc9f8b5.tar.bz2 podman-ce24e1139c63b35ddc2c6b176e5701de1dc9f8b5.zip |
govern remote attach and start
fixes a race where container would start before attach could occur resulting in an error.
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/bindings/test')
-rw-r--r-- | pkg/bindings/test/attach_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/test/attach_test.go b/pkg/bindings/test/attach_test.go index 906bd2950..6fb166828 100644 --- a/pkg/bindings/test/attach_test.go +++ b/pkg/bindings/test/attach_test.go @@ -54,7 +54,7 @@ var _ = Describe("Podman containers attach", func() { go func() { defer GinkgoRecover() - err := containers.Attach(bt.conn, id, nil, bindings.PTrue, bindings.PTrue, nil, stdout, stderr) + err := containers.Attach(bt.conn, id, nil, bindings.PTrue, bindings.PTrue, nil, stdout, stderr, nil) Expect(err).ShouldNot(HaveOccurred()) }() @@ -98,7 +98,7 @@ var _ = Describe("Podman containers attach", func() { go func() { defer GinkgoRecover() - err := containers.Attach(bt.conn, ctnr.ID, nil, bindings.PFalse, bindings.PTrue, stdin, stdout, stderr) + err := containers.Attach(bt.conn, ctnr.ID, nil, bindings.PFalse, bindings.PTrue, stdin, stdout, stderr, nil) Expect(err).ShouldNot(HaveOccurred()) }() |