[groupepsa] Fixed timeouts in tests (#15574)

Signed-off-by: Arjan Mels <github@mels.email>
pull/15586/head
Arjan Mels 2023-09-13 08:40:33 +02:00 committed by GitHub
parent 1a6cd3446f
commit e2709ba2ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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)));