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: features/fixtures/mazerunner/cxx-scenarios-bugsnag/src/main/java/com/bugsnag/android/mazerunner/scenarios/CXXCrashLoopScenario.kt
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ import android.content.Context
4
4
importcom.bugsnag.android.Bugsnag
5
5
importcom.bugsnag.android.Configuration
6
6
7
+
privateconstvalSTARTUP_SETTLING_TIME=500L
8
+
7
9
/**
8
10
* Triggers a crash loop which Bugsnag allows recovery from.
9
11
*/
@@ -36,6 +38,8 @@ internal class CXXCrashLoopScenario(
36
38
)
37
39
}
38
40
41
+
Thread.sleep(STARTUP_SETTLING_TIME)
42
+
39
43
// the last run info allows the scenario to escape from what would otherwise be
40
44
// a crash loop, by conditionally entering a 'safe mode'.
0 commit comments