File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ tasks {
37
37
jvmArgs(" -Dotel.instrumentation.grpc.capture-metadata.client.request=some-client-key" )
38
38
jvmArgs(" -Dotel.instrumentation.grpc.capture-metadata.server.request=some-server-key" )
39
39
jvmArgs(" -Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true" )
40
+ // latest dep test occasionally fails because network type is ipv6 instead of the expected ipv4
41
+ // and peer address is 0:0:0:0:0:0:0:1 instead of 127.0.0.1
42
+ jvmArgs(" -Djava.net.preferIPv4Stack=true" )
40
43
41
44
// exclude our grpc library instrumentation, the ContextStorageOverride contained within it
42
45
// breaks the tests
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ tasks {
20
20
test {
21
21
systemProperty(" testLatestDeps" , findProperty(" testLatestDeps" ) as Boolean )
22
22
jvmArgs(" -Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true" )
23
+ // latest dep test occasionally fails because network type is ipv6 instead of the expected ipv4
24
+ // and peer address is 0:0:0:0:0:0:0:1 instead of 127.0.0.1
25
+ jvmArgs(" -Djava.net.preferIPv4Stack=true" )
23
26
}
24
27
}
25
28
You can’t perform that action at this time.
0 commit comments