[groupepsa] Fixed timeouts in tests (#15574)
Signed-off-by: Arjan Mels <github@mels.email>
This commit is contained in:
parent
1a6cd3446f
commit
e2709ba2ca
|
@ -141,7 +141,7 @@ public class GroupePSAHandlerTest {
|
||||||
bridgeHandler.initialize();
|
bridgeHandler.initialize();
|
||||||
|
|
||||||
// check that the bridge is online
|
// check that the bridge is online
|
||||||
verify(bridgeCallback, timeout(2000)).statusUpdated(eq(bridge),
|
verify(bridgeCallback, timeout(10000)).statusUpdated(eq(bridge),
|
||||||
argThat(arg -> arg.getStatus().equals(ThingStatus.ONLINE)));
|
argThat(arg -> arg.getStatus().equals(ThingStatus.ONLINE)));
|
||||||
|
|
||||||
// Initialize the thing
|
// Initialize the thing
|
||||||
|
@ -149,7 +149,7 @@ public class GroupePSAHandlerTest {
|
||||||
|
|
||||||
// check that the thing is offline without detail (last update time is not
|
// check that the thing is offline without detail (last update time is not
|
||||||
// within 15 minutes)
|
// within 15 minutes)
|
||||||
verify(thingCallback, timeout(2000)).statusUpdated(eq(thing),
|
verify(thingCallback, timeout(10000)).statusUpdated(eq(thing),
|
||||||
argThat(arg -> arg.getStatus().equals(ThingStatus.OFFLINE)
|
argThat(arg -> arg.getStatus().equals(ThingStatus.OFFLINE)
|
||||||
&& arg.getStatusDetail().equals(ThingStatusDetail.NONE)));
|
&& arg.getStatusDetail().equals(ThingStatusDetail.NONE)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue