[hue] Try to make tests more stable (#9400)

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
This commit is contained in:
Fabian Wolter 2020-12-16 18:49:15 +01:00 committed by GitHub
parent 6da71d1d3f
commit 9d6cc070eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,7 +182,8 @@ public class HueBridgeHandlerOSGiTest extends AbstractHueOSGiTestParent {
assertNull(bridge.getConfiguration().get(USER_NAME));
waitForAssert(() -> assertEquals(ThingStatus.OFFLINE, bridge.getStatus()));
assertEquals(ThingStatusDetail.OFFLINE.CONFIGURATION_ERROR, bridge.getStatusInfo().getStatusDetail());
waitForAssert(() -> assertEquals(ThingStatusDetail.OFFLINE.CONFIGURATION_ERROR,
bridge.getStatusInfo().getStatusDetail()));
}
@Test