Skip to content

Commit 0df0dc4

Browse files
author
m.zharinova
committed
delete some log details
1 parent 2b8facf commit 0df0dc4

File tree

1 file changed

+9
-7
lines changed
  • spring-boot-3-demo-app-reactive/src/test/java/io/github/mfvanek/spring/boot3/reactive

1 file changed

+9
-7
lines changed

spring-boot-3-demo-app-reactive/src/test/java/io/github/mfvanek/spring/boot3/reactive/ApplicationTests.java

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@ void contextLoads() {
4646
assertThat(applicationContext.getBean("otelJaegerGrpcSpanExporter"))
4747
.isNotNull()
4848
.isInstanceOf(OtlpGrpcSpanExporter.class)
49-
.hasToString(String.format(Locale.ROOT, """
50-
OtlpGrpcSpanExporter{exporterName=otlp, type=span, endpoint=http://localhost:%d, \
51-
endpointPath=/opentelemetry.proto.collector.trace.v1.TraceService/Export, \
52-
timeoutNanos=5000000000, connectTimeoutNanos=10000000000, compressorEncoding=null, \
53-
headers=Headers{User-Agent=OBFUSCATED}, \
54-
retryPolicy=RetryPolicy{maxAttempts=5, initialBackoff=PT1S, maxBackoff=PT5S, backoffMultiplier=1.5, \
55-
retryExceptionPredicate=null}, serviceClassLoader=jdk.internal.loader.ClassLoaders$AppClassLoader@2c7b84de, memoryMode=REUSABLE_DATA}""", JaegerInitializer.getFirstMappedPort()));
49+
.satisfies(e -> assertThat(e.toString())
50+
.contains(String.format(Locale.ROOT, """
51+
OtlpGrpcSpanExporter{exporterName=otlp, type=span, endpoint=http://localhost:%d, \
52+
endpointPath=/opentelemetry.proto.collector.trace.v1.TraceService/Export, \
53+
timeoutNanos=5000000000, connectTimeoutNanos=10000000000, compressorEncoding=null, \
54+
headers=Headers{User-Agent=OBFUSCATED}, \
55+
retryPolicy=RetryPolicy{maxAttempts=5, initialBackoff=PT1S, maxBackoff=PT5S, backoffMultiplier=1.5, \
56+
retryExceptionPredicate=null},""", JaegerInitializer.getFirstMappedPort()))
57+
);
5658
}
5759

5860
@Test

0 commit comments

Comments
 (0)