forked from fluent/fluent-bit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: runtime: in_tail: Add test for dmode_firstline for docker mode
Signed-off-by: Dominik Rosiek <[email protected]>
- Loading branch information
Dominik Rosiek
authored and
Magnus Sirviö
committed
Oct 7, 2020
1 parent
632e9e5
commit a90f35e
Showing
3 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
tests/runtime/data/tail/log/dockermode_firstline_detection.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{"log":"Single log\n"} | ||
{"log":"Second log\n"} | ||
{"log":"Third log\n"} | ||
{"log":"2020-03-24 Multiple lines: \n"} | ||
{"log":"first bullet point\n"} | ||
{"log":"second bullet point\n"} | ||
{"log":"third bullet point\n"} | ||
{"log":"fourth bullet point\n"} | ||
{"log":"2020-03-24 Single line\n"} |
5 changes: 5 additions & 0 deletions
5
tests/runtime/data/tail/out/dockermode_firstline_detection.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{"log":"Single log\n"} | ||
{"log":"Second log\n"} | ||
{"log":"Third log\n"} | ||
{"log":"2020-03-24 Multiple lines: \nfirst bullet point\nsecond bullet point\nthird bullet point\nfourth bullet point\n"} | ||
{"log":"2020-03-24 Single line\n"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters