From 9d6cc070ebafd4daa01a569278038ce00a08c2cb Mon Sep 17 00:00:00 2001 From: Fabian Wolter Date: Wed, 16 Dec 2020 18:49:15 +0100 Subject: [PATCH] [hue] Try to make tests more stable (#9400) Signed-off-by: Fabian Wolter --- .../binding/hue/internal/handler/HueBridgeHandlerOSGiTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/itests/org.openhab.binding.hue.tests/src/main/java/org/openhab/binding/hue/internal/handler/HueBridgeHandlerOSGiTest.java b/itests/org.openhab.binding.hue.tests/src/main/java/org/openhab/binding/hue/internal/handler/HueBridgeHandlerOSGiTest.java index c0c9c121f77..4de25c9779c 100644 --- a/itests/org.openhab.binding.hue.tests/src/main/java/org/openhab/binding/hue/internal/handler/HueBridgeHandlerOSGiTest.java +++ b/itests/org.openhab.binding.hue.tests/src/main/java/org/openhab/binding/hue/internal/handler/HueBridgeHandlerOSGiTest.java @@ -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