Test Case UdpServerTest.supportsUdpMulticast fails sporadically
See original GitHub issueWhen running ./gradlew build
the test case UdpServerTest.supportsUdpMulticast
sporadically (1 out of 3 builds) fails
reactor.netty.ChannelBindException: Failed to bind on [0:0:0:0:0:0:0:1%0:59042]
Suppressed: java.lang.Exception: #block terminated with an error
at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:139)
at reactor.core.publisher.Mono.block(Mono.java:1727)
at reactor.netty.udp.UdpServer.bindNow(UdpServer.java:120)
at reactor.netty.udp.UdpServerTests.portBindingException(UdpServerTests.java:266)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
Expected Behavior
Build runs always without test errors
Actual Behavior
Build fails sometimes with test errors
Steps to Reproduce
Run build
Possible Solution
Your Environment
Reactor version(s) used: reactor-netty 1.0.7 JVM version : OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode) OS and version: Linux 5.12.10-arch1-1 #1 SMP PREEMPT Thu, 10 Jun 2021 16:34:50 +0000 x86_64 GNU/Linux
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How can I test Multicast UDP connectivity between two servers?
I have an application installed which uses multicast UDP to propagate events between the two servers and keep them in sync.
Read more >UDP Communication - Python Wiki
On my computer, at least. Sending to multicast groups is just fine; Here's some functional text:.
Read more >Detecting failure of UDP multicast receive - Stack Overflow
When testing the 'server' on a laptop, I have noticed that if the laptop enters a 'sleep' state the server's receiving socket becomes...
Read more >Receiving UDP Multicast Not Working #16335 - flutter ... - GitHub
I'm trying to receive a UDP multicast in my Flutter app on Android. ... import: 'package:flutter/material.dart' at test\widget_test.dart:7:8 ...
Read more >What is User Datagram Protocol (UDP)? Definition from ...
Learn how User Datagram Protocol works, how it compares to TCP/IP, and popular UDP use cases and applications.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m not able to reproduce the problem anymore. I will reopen the issue if I’m running into this problem again.
@roggenbrot Thanks for the update!