You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android/SdkInitTests.kt
+15-5Lines changed: 15 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -112,11 +112,7 @@ class SdkInitTests : BaseUiTest() {
112
112
113
113
@Test
114
114
fundoubleInitDoesNotWait() {
115
-
initSentry()
116
-
117
-
// We want the SDK to start sending the event. If we don't wait, it's possible we don't send
118
-
// anything before the SDK is restarted
119
-
waitUntilIdle()
115
+
initSentry(true)
120
116
121
117
val beforeRestart =System.currentTimeMillis()
122
118
// We restart the SDK. This shouldn't block the main thread, but new options (e.g. profiling)
@@ -128,9 +124,23 @@ class SdkInitTests : BaseUiTest() {
0 commit comments