100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Minor UdpClientProtocolTest to try and get test runner passing
Rich Turner1011f1b42436
diff --git a/test/src/test/groovy/org/openremote/test/protocol/udp/UdpClientProtocolTest.groovy b/test/src/test/groovy/org/openremote/test/protocol/udp/UdpClientProtocolTest.groovyindex 1e63354c4..f2e75e7ba 100644--- a/test/src/test/groovy/org/openremote/test/protocol/udp/UdpClientProtocolTest.groovy+++ b/test/src/test/groovy/org/openremote/test/protocol/udp/UdpClientProtocolTest.groovy@@ -250,9 +250,12 @@ class UdpClientProtocolTest extends Specification implements ManagerContainerTra}when: "the echo world attribute is also updated to work with hex server"- asset.getAttribute("echoWorld").flatMap({it.getMetaValue(AGENT_LINK)}).ifPresent{it.setWriteValue("123456")}+ asset.getAttribute("echoWorld").get().getMetaValue(AGENT_LINK).get().setWriteValue("123456")asset = assetStorageService.merge(asset)+ then: "the attribute should be updated"+ asset.getAttribute("echoWorld").get().getMetaValue(AGENT_LINK).get().getWriteValue().get() == "123456"+then: "the attributes should be relinked"conditions.eventually {assert agentService.getProtocolInstance(agent.id) != null