Skip to content

Conversation

@stuartmorgan-g
Copy link
Collaborator

We accidentally enteded up with two identical, but differently named, Android integration test harness files in shared_preferences, causing CI to run the integration tests twice. This removes the MainActivityTest.java version, leaving the better-named FlutterActivityTest.java (there is no MainActivity in the app, it uses FlutterActivity directly).

Fixes flutter/flutter#162266

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

We accidentally enteded up with two identical, but differently named,
Android integration test harness files in `shared_preferences`, causing
CI to run the integration tests twice. This removes the
MainActivityTest.java version, leaving the better-named
FlutterActivityTest.java (there is no MainActivity in the app, it uses
FlutterActivity directly).

Fixes flutter/flutter#162266
@stuartmorgan-g stuartmorgan-g added the override: no changelog needed Override the check requiring CHANGELOG updates for most changes label Jun 3, 2025
@stuartmorgan-g
Copy link
Collaborator Author

Verified that CI is still showing that the integration tests are run—but only once now, as desired.

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 3, 2025
@auto-submit auto-submit bot merged commit 83256f0 into flutter:main Jun 3, 2025
80 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 4, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Jun 4, 2025
flutter/packages@1765c95...2bac766

2025-06-03 r.masarovic@gmail.com [in_app_purchase_android]
GooglePlayPurchaseParam add possibility set selected offerToken
(flutter/packages#8452)
2025-06-03 github@alexv525.com [camera] 🐛 Fix toggles overflow in the
camera example (flutter/packages#9274)
2025-06-03 stuartmorgan@google.com [shared_preferences] Remove duplicate
integration test (flutter/packages#9368)
2025-06-03 sokolovskyi.konstantin@gmail.com [pointer_interceptor_web]
Fix unresponsive input above PointerInterceptor on Safari and Firefox.
(flutter/packages#9362)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Ortes pushed a commit to Ortes/packages that referenced this pull request Jun 25, 2025
We accidentally enteded up with two identical, but differently named, Android integration test harness files in `shared_preferences`, causing CI to run the integration tests twice. This removes the MainActivityTest.java version, leaving the better-named FlutterActivityTest.java (there is no MainActivity in the app, it uses FlutterActivity directly).

Fixes flutter/flutter#162266

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App override: no changelog needed Override the check requiring CHANGELOG updates for most changes p: shared_preferences platform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[shared_preferences] Android integration tests running twice

2 participants