Skip to content

Commit a2e7bbc

Browse files
committed
diff
1 parent 49ddd93 commit a2e7bbc

File tree

1 file changed

+5
-5
lines changed
  • instrumentation/reactor/reactor-netty/reactor-netty-1.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/reactornetty/v1_0

1 file changed

+5
-5
lines changed

instrumentation/reactor/reactor-netty/reactor-netty-1.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/reactornetty/v1_0/ReactorNettyHttpClientTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ protected void configure(HttpClientTestOptions.Builder optionsBuilder) {
3535

3636
boolean isWindows = OS.WINDOWS.isCurrentOs();
3737

38-
// Disable remote connection tests on Windows due to reactor-netty creating extra spans
39-
if (isWindows) {
40-
optionsBuilder.setTestRemoteConnection(false);
41-
}
42-
4338
// Only run single connection tests on Linux due to networking stack differences
4439
if (!isWindows) {
4540
optionsBuilder.setSingleConnectionFactory(
@@ -65,6 +60,11 @@ protected void configure(HttpClientTestOptions.Builder optionsBuilder) {
6560
.code();
6661
});
6762
}
63+
64+
// Disable remote connection tests on Windows due to reactor-netty creating extra spans
65+
if (isWindows) {
66+
optionsBuilder.setTestRemoteConnection(false);
67+
}
6868
}
6969

7070
@Override

0 commit comments

Comments
 (0)