Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Test enhancement for UDP broadcast to get macos test runner working (hopefully!)

Rich Turner2b0481e9459b
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.groovy
index 15c05dfc6..01134f9cd 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("255.255.255.255", clientPort))
+ echoServer.sendMessage("Hello world", SocketUtils.socketAddress("127.255.255.255", clientPort))
then: "we should receive the message"
conditions.eventually {