[modbus] Disable failing test (#8884)

Related to #8880

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born 2020-10-27 22:30:27 +01:00 committed by GitHub
parent a84222cf5e
commit 6398773007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ 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;
@ -560,6 +561,7 @@ 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(