Skip to content

Commit b5c093d

Browse files
Copilottrask
andcommitted
Fix failing LogbackDisabledTest and LogbackLevelOffTest by correcting success expectation
Co-authored-by: trask <[email protected]>
1 parent ce68488 commit b5c093d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

smoke-tests/apps/Logback/src/smokeTest/java/com/microsoft/applicationinsights/smoketest/LogbackDisabledTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void testWithSpanException() {
3333
trace
3434
.hasRequestSatisying(
3535
request ->
36-
request.hasName("GET /Logback/testWithSpanException").hasSuccess(true))
36+
request.hasName("GET /Logback/testWithSpanException").hasSuccess(false))
3737
.hasMessageCount(0)
3838
.hasExceptionCount(1)
3939
.hasExceptionSatisying(

smoke-tests/apps/Logback/src/smokeTest/java/com/microsoft/applicationinsights/smoketest/LogbackLevelOffTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void testWithSpanException() {
3333
trace
3434
.hasRequestSatisying(
3535
request ->
36-
request.hasName("GET /Logback/testWithSpanException").hasSuccess(true))
36+
request.hasName("GET /Logback/testWithSpanException").hasSuccess(false))
3737
.hasMessageCount(0)
3838
.hasExceptionCount(1)
3939
.hasExceptionSatisying(

0 commit comments

Comments
 (0)