From 0bbb16fa184a0e5e66b8d6d20bcfcb3830a6f3a4 Mon Sep 17 00:00:00 2001 From: Jacob Laursen Date: Thu, 3 Oct 2024 21:41:31 +0200 Subject: [PATCH] [wemo] Disable more unstable tests (#17502) Signed-off-by: Jacob Laursen Signed-off-by: Ciprian Pascu --- .../wemo/internal/handler/test/WemoHandlerOSGiTest.java | 3 +++ .../wemo/internal/handler/test/WemoMakerHandlerOSGiTest.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/handler/test/WemoHandlerOSGiTest.java b/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/handler/test/WemoHandlerOSGiTest.java index 241b09f29d8..c504ce2e60d 100644 --- a/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/handler/test/WemoHandlerOSGiTest.java +++ b/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/handler/test/WemoHandlerOSGiTest.java @@ -25,6 +25,7 @@ import java.util.List; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.jupnp.model.ValidationException; import org.mockito.ArgumentCaptor; @@ -68,6 +69,7 @@ public class WemoHandlerOSGiTest extends GenericWemoOSGiTest { } @Test + @Disabled("https://github.com/openhab/openhab-addons/issues/12474") public void assertThatThingHandlesOnOffCommandCorrectly() throws MalformedURLException, URISyntaxException, ValidationException, IOException { Command command = OnOffType.OFF; @@ -104,6 +106,7 @@ public class WemoHandlerOSGiTest extends GenericWemoOSGiTest { } @Test + @Disabled("https://github.com/openhab/openhab-addons/issues/12474") public void assertThatThingHandlesREFRESHCommandCorrectly() throws MalformedURLException, URISyntaxException, ValidationException, IOException { Command command = RefreshType.REFRESH; diff --git a/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/handler/test/WemoMakerHandlerOSGiTest.java b/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/handler/test/WemoMakerHandlerOSGiTest.java index 8755f8d9969..f478cbc8c0f 100644 --- a/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/handler/test/WemoMakerHandlerOSGiTest.java +++ b/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/handler/test/WemoMakerHandlerOSGiTest.java @@ -69,8 +69,8 @@ public class WemoMakerHandlerOSGiTest extends GenericWemoOSGiTest { removeThing(); } - @Disabled @Test + @Disabled("https://github.com/openhab/openhab-addons/issues/12474") public void assertThatThingHandlesOnOffCommandCorrectly() throws MalformedURLException, URISyntaxException, ValidationException, IOException { Command command = OnOffType.OFF;