moby--moby/daemon/logger/loggerutils
Brian Goff c6d860ace6 Fix log file rotation test.
The test was looking for the wrong file name.
Since compression happens asyncronously, sometimes the test would
succeed and sometimes fail.

This change makes sure to wait for the compressed version of the file
since we can't know when the compression is going to occur.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2020-07-15 11:06:07 -07:00
..
cache Support configuration of log cacher. 2020-02-19 17:02:34 -05:00
file_unix.go Use FILE_SHARE_DELETE for log files on Windows. 2019-09-23 16:45:07 -07:00
file_windows.go Use FILE_SHARE_DELETE for log files on Windows. 2019-09-23 16:45:07 -07:00
file_windows_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
log_tag.go Add canonical import comment 2018-02-05 16:51:57 -05:00
log_tag_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
logfile.go Merge pull request #40920 from cpuguy83/log_rotate_error_handling 2020-05-07 14:45:42 -07:00
logfile_test.go Fix log file rotation test. 2020-07-15 11:06:07 -07:00