1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger/loggerutils
Brian Goff ec14dc44d1
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>
(cherry picked from commit c6d860ace6)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-08-05 12:48:27 +02:00
..
file_unix.go Use FILE_SHARE_DELETE for log files on Windows. 2020-02-22 15:55:03 +01:00
file_windows.go Use FILE_SHARE_DELETE for log files on Windows. 2020-02-22 15:55:03 +01:00
file_windows_test.go Use FILE_SHARE_DELETE for log files on Windows. 2020-02-22 15:55:03 +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 logfile: Check if log is closed on close error during rotate 2020-05-07 12:22:58 -07:00
logfile_test.go Fix log file rotation test. 2020-08-05 12:48:27 +02:00