Closed lolodomo closed 5 years ago
Similar to the other. Timeout exception at this line: https://github.com/openhab/openhab2-addons/blob/268f9149e1f573ee41069519215152f370cbabd3/itests/org.openhab.binding.mqtt.homie.tests/src/main/java/org/openhab/binding/mqtt/HomieImplementationTest.java#L108
Ok. I started and ran in exactly the same error.
-> increased timeout to 500 -> fixed
After that paho complains about „too many publications“
-> increased max. inflight messages (requires core patch) -> fixed
Now the tests fail because subscriptions do not return the requested values. I guess that is another timing issue. Stopping for today
It seems to be an issue with the embedded broker. I exchanged that with an external broker and tests succeed. No matter how far I extend the subscription I never receive topics with retained messages. It seems that under certain circumstances the embedded broker is not retaining messages (I have seen that in my test setup, too).
If the test is showing a bug, that is interesting ;)
This really seems to be a bug in moquette. I verified with Wireshark that the messages are sent with QoS 1 and retain flag set. In #5915 I added a new test for moquette, result:
Build on Windows 10: