Open Source flaky test
java.lang.AssertionError: Expected <true>, actual <false>.
The test was seen to be failing at: https://ci01.dev.r3.com/view/Build%20Monitor%20View/job/Test-Collectors/job/corda-release-4.5/129/testReport/junit/net.corda.node.amqp/ProtonWrapperTests/shared_AMQPClient_threadpool_tests/
Full test log attached.
In the test there are a number of re-connection attempts performed and at the last round of re-connection there seem to be a problem. Server thinks that the client is connected, but on the client side there is:
i.e. no connection.
Note: Test was seen failing in Jenkins OS, but never failed in ENT where this test is different and executed with more parameter permutations. Also test was never seen failing in TC in OS or ENT.
Suggested course of investigation:
Add logging to the test clearly marking each stage in connect/disconnect;
Add additional logging to AMQPClient to elaborate why Failed to connect is happening;
Make a temporal change to execute said test 100s of times repeatedly such that single execution on Jenkins will prove if this test stable or not.