We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cffe9c6 commit e036f8cCopy full SHA for e036f8c
1 file changed
dd-java-agent/instrumentation/netty/netty-4.1/src/test/groovy/Netty41ServerTest.groovy
@@ -202,7 +202,8 @@ abstract class Netty41ServerTest extends HttpServerTest<EventLoopGroup> {
202
void awaitConnected() {
203
while (WsEndpoint.activeSession == null) {
204
synchronized (WsEndpoint) {
205
- WsEndpoint.wait()
+ // this can be racy so we need to wait with timeout and retry
206
+ WsEndpoint.wait(1_000)
207
}
208
209
0 commit comments