From: Jacob Laursen Date: Thu, 3 Oct 2024 19:41:31 +0000 (+0200) Subject: [wemo] Disable more unstable tests (#17502) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=f3a0d0b8328ad3b076140b2dd730a12522c2883d;p=openhab-addons.git [wemo] Disable more unstable tests (#17502) Signed-off-by: Jacob Laursen --- 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 241b09f29d..c504ce2e60 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 8755f8d996..f478cbc8c0 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;