[hue] Try to make tests more stable (#9400)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>pull/9403/head
parent
6da71d1d3f
commit
9d6cc070eb
|
@ -182,7 +182,8 @@ public class HueBridgeHandlerOSGiTest extends AbstractHueOSGiTestParent {
|
||||||
|
|
||||||
assertNull(bridge.getConfiguration().get(USER_NAME));
|
assertNull(bridge.getConfiguration().get(USER_NAME));
|
||||||
waitForAssert(() -> assertEquals(ThingStatus.OFFLINE, bridge.getStatus()));
|
waitForAssert(() -> assertEquals(ThingStatus.OFFLINE, bridge.getStatus()));
|
||||||
assertEquals(ThingStatusDetail.OFFLINE.CONFIGURATION_ERROR, bridge.getStatusInfo().getStatusDetail());
|
waitForAssert(() -> assertEquals(ThingStatusDetail.OFFLINE.CONFIGURATION_ERROR,
|
||||||
|
bridge.getStatusInfo().getStatusDetail()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue