Skip to content
Snippets Groups Projects
Commit bc571c54 authored by Sandeep Sukhani's avatar Sandeep Sukhani Committed by Ed
Browse files

Fix failing test `TestGlobWithMultipleFiles` in pkg/promtail/targets (#466)

TestClient used for watching log file events appends logs to a list
Due to race condition some of the logs added to it goes missing
Adding a Mutex to it to lock messages before adding logs to it
parent 63be9c24
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment