mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[mielecloud] Increase timeout for integration tests (#11306)
Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>
This commit is contained in:
parent
b65b27a497
commit
0d5ecd3417
@ -129,6 +129,12 @@ public abstract class AbstractMieleThingHandlerTest extends JavaOSGiTest {
|
||||
return Objects.requireNonNull(itemRegistry);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void waitForAssert(Runnable assertion) {
|
||||
// Use a larger timeout to avoid test failures in the CI build.
|
||||
waitForAssert(assertion, 2 * DFL_TIMEOUT, 2 * DFL_SLEEP_TIME);
|
||||
}
|
||||
|
||||
private void setUpThingRegistry() {
|
||||
thingRegistry = getService(ThingRegistry.class, ThingRegistry.class);
|
||||
assertNotNull(thingRegistry, "Thing registry is missing");
|
||||
|
Loading…
Reference in New Issue
Block a user