From 2b9f890831326142930639a6f03455a133c8f310 Mon Sep 17 00:00:00 2001 From: Kai Kreuzer Date: Wed, 16 Dec 2020 14:13:04 +0100 Subject: [PATCH] Stabelized automation integration test (#1944) Signed-off-by: Kai Kreuzer --- .../openhab/core/automation/internal/RuleEngineImpl.java | 9 +++++++++ .../integration/test/AutomationIntegrationTest.java | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/internal/RuleEngineImpl.java b/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/internal/RuleEngineImpl.java index 0df4ed040..ac83456c4 100644 --- a/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/internal/RuleEngineImpl.java +++ b/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/internal/RuleEngineImpl.java @@ -1460,4 +1460,13 @@ public class RuleEngineImpl implements RuleManager, RegistryChangeListener { + assertThat(((RuleEngineImpl) ruleEngine).isStarted(), is(true)); + }, 5000, 1000); + logger.info("@Before.finish"); }