]> git.basschouten.com Git - openhab-addons.git/commitdiff
Revert "[modbus] Disable failing test (#8884)" (#8895)
authorChristoph Weitkamp <github@christophweitkamp.de>
Fri, 30 Oct 2020 23:22:09 +0000 (00:22 +0100)
committerGitHub <noreply@github.com>
Fri, 30 Oct 2020 23:22:09 +0000 (00:22 +0100)
This reverts commit 63987730070a40f908a6956e377d5722074fc93a.

itests/org.openhab.binding.modbus.tests/src/main/java/org/openhab/binding/modbus/tests/ModbusDataHandlerTest.java

index 2d2edecf7ce8741cc630dfc4ea4ef37d81a71bcb..2b9397f0d291e29da38ec66ee8645380bcadd24a 100644 (file)
@@ -33,7 +33,6 @@ import java.util.function.Function;
 import org.apache.commons.lang.StringUtils;
 import org.hamcrest.Matcher;
 import org.junit.jupiter.api.AfterEach;
-import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 import org.mockito.Mockito;
 import org.openhab.binding.modbus.handler.EndpointNotInitializedException;
@@ -561,7 +560,6 @@ public class ModbusDataHandlerTest extends AbstractModbusOSGiTest {
     }
 
     @Test
-    @Disabled("See: https://github.com/openhab/openhab-addons/issues/8880")
     public void testOnRegistersNaNFloatInRegisters() throws InvalidSyntaxException {
         ModbusDataThingHandler dataHandler = testReadHandlingGeneric(ModbusReadFunctionCode.READ_MULTIPLE_REGISTERS,
                 "0", "default", ModbusConstants.ValueType.FLOAT32, null, new ModbusRegisterArray(