-
Notifications
You must be signed in to change notification settings - Fork 30.6k
Add option to not uninstall in flutter test command #166709
Copy link
Copy link
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Use case
On Android, I have a DPM application where the application cannot be uninstalled. It can only be updated.
I am trying to write integration tests to run on a physical device. However, the
flutter testcommand will try to uninstall the DPM app.I get the error
db uninstall failed: ProcessException: Process exited abnormally with exit code 1: Failure [DELETE_FAILED_DEVICE_POLICY_MANAGER] Command: /home/name/Android/Sdk/platform-tools/adb -s 9d3dd4405f4f260c uninstall com.org.examplePlease provide a way around this.
Proposal
Ideally, I want a command in
flutter testwhich will skip the uninstallation step.