Skip to content

Commit 9438ad1

Browse files
committed
improve
1 parent 8bc254d commit 9438ad1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

sentry-jul/src/test/kotlin/io/sentry/jul/SentryHandlerTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,15 +562,15 @@ class SentryHandlerTest {
562562

563563
MDC.put("someTag", "someValue")
564564
MDC.put("otherTag", "otherValue")
565-
fixture.logger.info("testing context tags in logs")
565+
fixture.logger.info("testing MDC properties in logs")
566566

567567
Sentry.flush(1000)
568568

569569
verify(fixture.transport)
570570
.send(
571571
checkLogs { logs ->
572572
val log = logs.items.first()
573-
assertEquals("testing context tags in logs", log.body)
573+
assertEquals("testing MDC properties in logs", log.body)
574574
val attributes = log.attributes!!
575575
assertEquals("someValue", attributes["someTag"]?.value)
576576
assertEquals("otherValue", attributes["otherTag"]?.value)

sentry-log4j2/src/test/kotlin/io/sentry/log4j2/SentryAppenderTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,15 +599,15 @@ class SentryAppenderTest {
599599

600600
ThreadContext.put("someTag", "someValue")
601601
ThreadContext.put("otherTag", "otherValue")
602-
logger.info("testing context tags in logs")
602+
logger.info("testing MDC properties in logs")
603603

604604
Sentry.flush(1000)
605605

606606
verify(fixture.transport)
607607
.send(
608608
checkLogs { logs ->
609609
val log = logs.items.first()
610-
assertEquals("testing context tags in logs", log.body)
610+
assertEquals("testing MDC properties in logs", log.body)
611611
val attributes = log.attributes!!
612612
assertEquals("someValue", attributes["someTag"]?.value)
613613
assertEquals("otherValue", attributes["otherTag"]?.value)

sentry-logback/src/test/kotlin/io/sentry/logback/SentryAppenderTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -827,15 +827,15 @@ class SentryAppenderTest {
827827
fixture = Fixture(minimumLevel = Level.INFO, enableLogs = true, contextTags = listOf("someTag"))
828828
MDC.put("someTag", "someValue")
829829
MDC.put("otherTag", "otherValue")
830-
fixture.logger.info("testing context tags in logs")
830+
fixture.logger.info("testing MDC properties in logs")
831831

832832
Sentry.flush(1000)
833833

834834
verify(fixture.transport)
835835
.send(
836836
checkLogs { logs ->
837837
val log = logs.items.first()
838-
assertEquals("testing context tags in logs", log.body)
838+
assertEquals("testing MDC properties in logs", log.body)
839839
val attributes = log.attributes!!
840840
assertEquals("someValue", attributes["someTag"]?.value)
841841
assertEquals("otherValue", attributes["otherTag"]?.value)

0 commit comments

Comments
 (0)