[wemo] Fix stability issues (#14163)
* Stabilize UPnP subscription handling * Remove unused UpnpService * Fix integration test Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
@@ -111,7 +111,7 @@ public class WemoHandlerOSGiTest extends GenericWemoOSGiTest {
|
||||
Thing thing = createThing(THING_TYPE_UID, DEFAULT_TEST_CHANNEL, DEFAULT_TEST_CHANNEL_TYPE);
|
||||
|
||||
waitForAssert(() -> {
|
||||
assertThat(thing.getStatus(), is(ThingStatus.OFFLINE));
|
||||
assertThat(thing.getStatus(), is(ThingStatus.UNKNOWN));
|
||||
});
|
||||
|
||||
// The device is registered as UPnP Device after the initialization, this will ensure that the polling job will
|
||||
|
||||
@@ -143,7 +143,7 @@ public class WemoInsightHandlerTest {
|
||||
String channelToWatch;
|
||||
|
||||
public MockWemoInsightHandler(Thing thing, String channelToWatch) {
|
||||
super(thing, null, null, new WemoHttpCall());
|
||||
super(thing, null, new WemoHttpCall());
|
||||
this.channelToWatch = channelToWatch;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user