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