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
{{ message }}
Repository navigation
Commit 94f84ca
Browse filesBrowse the repository at this point in the historyBrowse files
test(android): Use fewer Robolectric SDK levels in core and replay (#6544)
* collection: Robolectric CI speed-up
* test(android): Use fewer Robolectric SDK levels in core and replay
Robolectric starts a new sandbox for each SDK level a test JVM uses, and downloads one android-all jar per level. Move pinned levels to the nearest shared level that takes the same code branch: 23/25 -> 24, 26 -> 30, 31/34 -> 33. Level 28 stays because ReplaySmokeTest and AndroidConnectionStatusProviderTest behave differently at 30.
Core and replay now use 6 levels instead of 11. Locally, core Robolectric tests go from about 82s to 71s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: sentry-android-core/src/test/java/io/sentry/android/core/internal/util/AndroidConnectionStatusProviderConcurrencyTest.kt
Copy file name to clipboardExpand all lines: sentry-android-core/src/test/java/io/sentry/android/core/internal/util/AndroidConnectionStatusProviderTest.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,7 @@ class AndroidConnectionStatusProviderTest {
258
258
259
259
/// Lets a test reject work only after the setup that needs a working executor is done.
260
260
@Test
261
-
@Config(sdk = [Build.VERSION_CODES.S])
261
+
@Config(sdk = [Build.VERSION_CODES.TIRAMISU])
262
262
fun`When the network callback cannot be registered, the telephony listener is not started`() {
263
263
// Without ACCESS_NETWORK_STATE the network callback registration fails, and onBackground skips
264
264
// unregistering while there is no network callback, so the listener must not be started here.
Copy file name to clipboardExpand all lines: sentry-android-core/src/test/java/io/sentry/android/core/internal/util/CellularNetworkTechnologyProviderTest.kt
0 commit comments