Remove code not intended to be there
MODIFY
dd-java-agent/instrumentation/netty-4.0/src/main/java/datadog/trace/instrumentation/netty40/client/HttpClientRequestTracingHandler.java
dd-java-agent/instrumentation/netty-4.0/src/main/java/datadog/trace/instrumentation/netty40/client/HttpClientRequestTracingHandler.java
@@ -20,7 +20,6 @@ public class HttpClientRequestTracingHandler extends ChannelOutboundHandlerAdapt
@Override
public void write(final ChannelHandlerContext ctx, final Object msg, final ChannelPromise prm) {
- System.out.println("[STD LOG] About to write request handler");
if (!(msg instanceof HttpRequest)) {
ctx.write(msg, prm);
return;

MODIFY
dd-trace-ot/src/main/java/datadog/trace/common/writer/ListWriter.java
dd-trace-ot/src/main/java/datadog/trace/common/writer/ListWriter.java
@@ -38,7 +38,7 @@ public class ListWriter extends CopyOnWriteArrayList<List<DDSpan>> implements Wr
}
latches.add(latch);
}
- if (!latch.await(5, TimeUnit.SECONDS)) {
+ if (!latch.await(20, TimeUnit.SECONDS)) {
throw new TimeoutException(
"Timeout waiting for " + number + " trace(s). ListWriter.size() == " + size());
}

Remove code not intended to be there