summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/containers_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-22 18:36:09 +0200
committerGitHub <noreply@github.com>2020-05-22 18:36:09 +0200
commitd58497bbc2949af81ddbeb2ebe1d307d8a57d285 (patch)
tree0f7b197097bbb9ec682c23a318e86d36b687018a /pkg/bindings/test/containers_test.go
parent6aa802d8012a78ac95e4fe2017a5b54ec8d4b8de (diff)
parentf51e0d0597757da72fd7a10085998052684e396b (diff)
downloadpodman-d58497bbc2949af81ddbeb2ebe1d307d8a57d285.tar.gz
podman-d58497bbc2949af81ddbeb2ebe1d307d8a57d285.tar.bz2
podman-d58497bbc2949af81ddbeb2ebe1d307d8a57d285.zip
Merge pull request #6332 from jwhonce/jira/884
V2 enable remote logs and testing
Diffstat (limited to 'pkg/bindings/test/containers_test.go')
-rw-r--r--pkg/bindings/test/containers_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/test/containers_test.go b/pkg/bindings/test/containers_test.go
index f725d1cf2..3b94b10eb 100644
--- a/pkg/bindings/test/containers_test.go
+++ b/pkg/bindings/test/containers_test.go
@@ -378,9 +378,9 @@ var _ = Describe("Podman containers ", func() {
containers.Logs(bt.conn, r.ID, opts, stdoutChan, nil)
}()
o := <-stdoutChan
- o = strings.ReplaceAll(o, "\r", "")
+ o = strings.TrimSpace(o)
_, err = time.Parse(time.RFC1123Z, o)
- Expect(err).To(BeNil())
+ Expect(err).ShouldNot(HaveOccurred())
})
It("podman top", func() {