fluent-logger-java
fluent-logger-java copied to clipboard
Use LinkedHashMap for deterministic iteration order
The test org.fluentd.logger.sender.TestRawSocketSender#testReconnectAfterBufferFull can fail due to a different iteration order of HashMap.
The fix is to change HaskMap to LinkedHashMap so that the iteration order remains stable and the failure will not occur any more. In this way, the test will be more stable.