Closed garydgregory closed 1 month ago
I have encountered this behavior a couple of times on the CI. If you look at the status log (which is dumped to stdout whenever the test fails), it shows that all 20 messages were delivered successfully.
What probably fails is:
which should be in a synchronized
block, since the sendRcTrue
variable it not volatile.
@garydgregory,
Can you check if you can reproduce the test failure with the #3033 fix?
Description
JeroMqAppenderTest is unreliable:
Configuration
Version: 2.x at 01125b11a7c52af12204a1c4a646158f63b2d6eb
Operating system: Microsoft Windows [Version 10.0.19045.4780
JDK: Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937) Maven home: C:\java\apache-maven-3.9.9 Java version: 17.0.12, vendor: Eclipse Adoptium, runtime: C:\Program Files\Eclipse Adoptium\jdk-17.0.12.7-hotspot Default locale: en_US, platform encoding: UTF-8 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Logs
Reproduction