Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return a copy of messages in MockMTAppender (elastic#94982)
Couldn't reproduce the failure, but in principle there is an issue there. Other options are a CopyOnWriteArrayList or just synchronizing on `messages()` return value. Returning a copy should be enough, since this is only used in one place for asserting some test expectations in an `assertBusy`. Closes elastic#94559
- Loading branch information