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/local
Cory Snider ae5f664f4e daemon/logger: open log reader synchronously
The asynchronous startup of the log-reading goroutine made the
follow-tail tests nondeterministic. The Log calls in the tests which
were supposed to happen after the reader started reading would sometimes
execute before the reader, throwing off the counts. Tweak the ReadLogs
implementation so that the order of operations is deterministic.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2022-05-19 15:22:22 -04:00
..
config.go
doc.go
local.go daemon/logger: open log reader synchronously 2022-05-19 15:22:22 -04:00
local_test.go daemon/logger: add test suite for LogReaders 2022-05-19 15:22:21 -04:00
read.go daemon/logger: open log reader synchronously 2022-05-19 15:22:22 -04:00
read_test.go test: use os.CreateTemp instead of ioutil.TempFile 2021-12-23 09:09:47 -08:00