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
Change loopback address in UDP test to get it passing on MacOS
Michal Rutka9c624c0cc9a7
diff --git a/mvp/aws-cloudformation.template.yml b/mvp/aws-cloudformation.template.ymlindex 83f2c4a9c..fcc99e0ed 100644--- a/mvp/aws-cloudformation.template.yml+++ b/mvp/aws-cloudformation.template.yml@@ -144,7 +144,9 @@ Resources:docker-compose -f mvp-docker-compose.yml -p openremote up -decho USER ${AccessKeys} > access.txtecho SECRET ${AccessKeys.SecretAccessKey} >> access.txt- echo PASSWORD $(or configure_aws --secret ${AccessKeys.SecretAccessKey} --quiet) >> access.txt+ echo EMAIL_PASSWORD=$(or configure_aws --secret ${AccessKeys.SecretAccessKey} --quiet) >> access.txt+ echo EMAIL_USER=$EMAIL_USER >> access.txt+ echo EMAIL_HOST=$EMAIL_HOST >> access.txtInstanceSecurityGroup:Type: AWS::EC2::SecurityGroupProperties:diff --git a/test/src/test/groovy/org/openremote/test/protocol/udp/UdpClientTest.groovy b/test/src/test/groovy/org/openremote/test/protocol/udp/UdpClientTest.groovyindex 01134f9cd..183e15f4a 100644--- a/test/src/test/groovy/org/openremote/test/protocol/udp/UdpClientTest.groovy+++ b/test/src/test/groovy/org/openremote/test/protocol/udp/UdpClientTest.groovy@@ -105,7 +105,7 @@ class UdpClientTest extends Specification implements ManagerContainerTrait {}when: "the server sends a broadcast message"- echoServer.sendMessage("Hello world", SocketUtils.socketAddress("127.255.255.255", clientPort))+ echoServer.sendMessage("Hello world", SocketUtils.socketAddress("127.0.0.1", clientPort))then: "we should receive the message"conditions.eventually {