diff options
author | Ashley Cui <acui@redhat.com> | 2020-10-02 08:54:16 -0400 |
---|---|---|
committer | Ashley Cui <acui@redhat.com> | 2020-10-02 10:05:19 -0400 |
commit | c0d1954663fbf56076d1e75da396aa78016d623b (patch) | |
tree | 8631531487441574cf3984c16fd6c89c90b74b4d /test/e2e/logs_test.go | |
parent | b0e70a6411d70d7ee7f1e9d6abedc2524b903609 (diff) | |
download | podman-c0d1954663fbf56076d1e75da396aa78016d623b.tar.gz podman-c0d1954663fbf56076d1e75da396aa78016d623b.tar.bz2 podman-c0d1954663fbf56076d1e75da396aa78016d623b.zip |
Fix Podman logs reading journald
A podman could not read logs written to journald properly, due to a tail config bug.
Added a system test to check this - since e2e tests don't like journald
Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'test/e2e/logs_test.go')
-rw-r--r-- | test/e2e/logs_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/e2e/logs_test.go b/test/e2e/logs_test.go index 3aa3cf409..67ab71d20 100644 --- a/test/e2e/logs_test.go +++ b/test/e2e/logs_test.go @@ -203,6 +203,7 @@ var _ = Describe("Podman logs", func() { results.WaitWithDefaultTimeout() Expect(results).To(Exit(0)) Expect(len(results.OutputToStringArray())).To(Equal(3)) + Expect(results.OutputToString()).To(Equal("podman podman podman")) }) It("using journald tail two lines", func() { |