summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/attach_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-14 15:13:47 -0700
committerGitHub <noreply@github.com>2020-05-14 15:13:47 -0700
commit4611ff5ce4ff67a142363ab66e10944bfc40f860 (patch)
treed448ffcef5efca4eae3dfccbad291a849916dbfe /pkg/bindings/test/attach_test.go
parent0d9625152b9acf1dc7662e38f56aa5b106c4dfcd (diff)
parentf587fa3ba383c62690320ebc4dfbd8b9d68a73ac (diff)
downloadpodman-4611ff5ce4ff67a142363ab66e10944bfc40f860.tar.gz
podman-4611ff5ce4ff67a142363ab66e10944bfc40f860.tar.bz2
podman-4611ff5ce4ff67a142363ab66e10944bfc40f860.zip
Merge pull request #6236 from jwhonce/wip/boxed
Make convenience boxed true/false easier to use
Diffstat (limited to 'pkg/bindings/test/attach_test.go')
-rw-r--r--pkg/bindings/test/attach_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/bindings/test/attach_test.go b/pkg/bindings/test/attach_test.go
index 809e536ca..906bd2950 100644
--- a/pkg/bindings/test/attach_test.go
+++ b/pkg/bindings/test/attach_test.go
@@ -54,11 +54,12 @@ 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)
Expect(err).ShouldNot(HaveOccurred())
}()
time.Sleep(5 * time.Second)
+
// First character/First line of top output
Expect(stdout.String()).Should(ContainSubstring("Mem: "))
})
@@ -97,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)
Expect(err).ShouldNot(HaveOccurred())
}()