Open sjsf opened 6 years ago
@velichkos as you implemented that test case - do you immediately have an idea what might have gone wrong here?
It looks like a timing issue: the component has a delayed initialization feature and the test asserts that the listeners will return without doing anything before the delayed initialization has passed. It is possible that in this execution the delayed initialization already completed before the test called the listener here:
provider.linkRegistryListener.added(new ItemChannelLink(ITEM_NAME, CHANNEL_UID));
From https://ci.eclipse.org/smarthome/job/SmartHomeDistribution-Nightly-PR/433: