Fix flaky jaeger remote sampler test (#5955)

This commit is contained in:
Lauri Tulmin 2023-11-03 23:26:01 +02:00 committed by GitHub
parent e2c76320ed
commit 7fd46f0583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class JaegerRemoteSamplerGrpcNettyTest {
void initialSampler() {
try (JaegerRemoteSampler sampler =
JaegerRemoteSampler.builder()
.setChannel(managedChannel())
.setChannel(ManagedChannelBuilder.forTarget("example.com").build())
.setServiceName(SERVICE_NAME)
.setInitialSampler(Sampler.alwaysOn())
.build()) {