Run grpc tests with ipv4 (#11087)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
This commit is contained in:
parent
17c8f0da74
commit
79d50d1f11
|
@ -37,6 +37,9 @@ tasks {
|
|||
jvmArgs("-Dotel.instrumentation.grpc.capture-metadata.client.request=some-client-key")
|
||||
jvmArgs("-Dotel.instrumentation.grpc.capture-metadata.server.request=some-server-key")
|
||||
jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
|
||||
// latest dep test occasionally fails because network type is ipv6 instead of the expected ipv4
|
||||
// and peer address is 0:0:0:0:0:0:0:1 instead of 127.0.0.1
|
||||
jvmArgs("-Djava.net.preferIPv4Stack=true")
|
||||
|
||||
// exclude our grpc library instrumentation, the ContextStorageOverride contained within it
|
||||
// breaks the tests
|
||||
|
|
|
@ -20,6 +20,9 @@ tasks {
|
|||
test {
|
||||
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
||||
jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
|
||||
// latest dep test occasionally fails because network type is ipv6 instead of the expected ipv4
|
||||
// and peer address is 0:0:0:0:0:0:0:1 instead of 127.0.0.1
|
||||
jvmArgs("-Djava.net.preferIPv4Stack=true")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue