Skip to content

Commit bbfd54d

Browse files
test(android): Use the child app start span in main's deadline test
9.x.x enables standalone app start tracing by default (#6716), so the test from #6599 that reads sut.appStartSpan must turn it off, like the other tests that assert on the app start child span.
1 parent 9cccf25 commit bbfd54d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎sentry-android-core/src/test/java/io/sentry/android/core/ActivityLifecycleIntegrationTest.kt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2526,6 +2526,7 @@ class ActivityLifecycleIntegrationTest {
25262526
val timer = ManualTimerExecutorService()
25272527
val sut = fixture.getSut {
25282528
it.tracesSampleRate = 1.0
2529+
it.isEnableStandaloneAppStartTracing = false
25292530
it.timerExecutorService = timer
25302531
}
25312532
var nowMillis = START_MILLIS

0 commit comments

Comments
 (0)