Use bogus endpoint for initialSampler test to prevent flakiness. (#2497)

This commit is contained in:
Anuraag Agrawal 2021-01-13 11:46:57 +09:00 committed by GitHub
parent 61eafc62eb
commit bdba132399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class JaegerRemoteSamplerTest {
void initialSampler() { void initialSampler() {
JaegerRemoteSampler sampler = JaegerRemoteSampler sampler =
JaegerRemoteSampler.builder() JaegerRemoteSampler.builder()
.setChannel(inProcessChannel) .setEndpoint("example.com")
.setServiceName(SERVICE_NAME) .setServiceName(SERVICE_NAME)
.setInitialSampler(Sampler.alwaysOn()) .setInitialSampler(Sampler.alwaysOn())
.build(); .build();