Regression

org.eclipse.smarthome.binding.mqtt.handler.BrokerHandlerTest.handlerInit

Failing for the past 1 build (Since Failed#890 )
Took 56 ms.

Error Message

brokerHandlerEx.connectionStateChanged(
    <any>,
    <any>
);
Wanted 3 times:
-> at org.eclipse.smarthome.binding.mqtt.handler.BrokerHandlerTest.initializeHandlerWaitForTimeout(BrokerHandlerTest.java:141)
But was 4 times. Undesired invocation:
-> at org.eclipse.smarthome.io.transport.mqtt.MqttBrokerConnection$ConnectionCallback.lambda$4(MqttBrokerConnection.java:154)

Stacktrace

org.mockito.exceptions.verification.TooManyActualInvocations: 

brokerHandlerEx.connectionStateChanged(
    <any>,
    <any>
);
Wanted 3 times:
-> at org.eclipse.smarthome.binding.mqtt.handler.BrokerHandlerTest.initializeHandlerWaitForTimeout(BrokerHandlerTest.java:141)
But was 4 times. Undesired invocation:
-> at org.eclipse.smarthome.io.transport.mqtt.MqttBrokerConnection$ConnectionCallback.lambda$4(MqttBrokerConnection.java:154)

	at org.eclipse.smarthome.binding.mqtt.handler.BrokerHandlerTest.initializeHandlerWaitForTimeout(BrokerHandlerTest.java:141)
	at org.eclipse.smarthome.binding.mqtt.handler.BrokerHandlerTest.handlerInit(BrokerHandlerTest.java:107)

Standard Output

07:08:46.662 [main] INFO  o.e.s.i.t.mqtt.MqttBrokerConnection - Starting MQTT broker connection to '10.10.0.10' with clientid BrokerHandlerTest and file store 'userdata/mqtt/10.10.0.10'