File tree 3 files changed +9
-2
lines changed
conventions/src/main/kotlin
instrumentation/ratpack/ratpack-1.4
testing/src/main/java/io/opentelemetry/instrumentation/ratpack/client
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ abstract class NettyAlignmentRule : ComponentMetadataRule {
122
122
with (ctx.details) {
123
123
if (id.group == " io.netty" && id.name != " netty" ) {
124
124
if (id.version.startsWith(" 4.1." )) {
125
- belongsTo(" io.netty:netty-bom:4.1.101 .Final" , false )
125
+ belongsTo(" io.netty:netty-bom:4.1.104 .Final" , false )
126
126
} else if (id.version.startsWith(" 4.0." )) {
127
127
belongsTo(" io.netty:netty-bom:4.0.56.Final" , false )
128
128
}
Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ tasks {
55
55
jvmArgs(" -Dotel.semconv-stability.opt-in=http" )
56
56
}
57
57
58
+ withType<Test >().configureEach {
59
+ systemProperty(" testLatestDeps" , findProperty(" testLatestDeps" ) as Boolean )
60
+ }
61
+
58
62
check {
59
63
dependsOn(testStableSemconv)
60
64
}
Original file line number Diff line number Diff line change @@ -133,7 +133,10 @@ protected void configure(HttpClientTestOptions.Builder optionsBuilder) {
133
133
optionsBuilder .setClientSpanErrorMapper (
134
134
(uri , exception ) -> {
135
135
if (uri .toString ().equals ("https://192.0.2.1/" )) {
136
- return new ConnectTimeoutException ("connection timed out: /192.0.2.1:443" );
136
+ return new ConnectTimeoutException (
137
+ "connection timed out"
138
+ + (Boolean .getBoolean ("testLatestDeps" ) ? " after 2000 ms" : "" )
139
+ + ": /192.0.2.1:443" );
137
140
} else if (OS .WINDOWS .isCurrentOs () && uri .toString ().equals ("http://localhost:61/" )) {
138
141
return new ConnectTimeoutException ("connection timed out: localhost/127.0.0.1:61" );
139
142
} else if (uri .getPath ().equals ("/read-timeout" )) {
You can’t perform that action at this time.
0 commit comments