Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Standalone Fork command with arguments doesn't work #176

Open
RuslanNelipa opened this issue Aug 11, 2020 · 0 comments
Open

Standalone Fork command with arguments doesn't work #176

RuslanNelipa opened this issue Aug 11, 2020 · 0 comments

Comments

@RuslanNelipa
Copy link

RuslanNelipa commented Aug 11, 2020

> gradlew fork-runner:run -Pargs='ARGUMENTS LIST'
This command doesn't work.

I need to parse config from the file instead of gradle and it seems to be not working.

  1. ./gradlew fork-runner:run -Pargs='--config /fork_external_tests_config.json' -> Project 'fork-runner' not found in root project 'MyProject'.

  2. ./gradlew fork-runner:run -Pargs='--config /users/user/project/<full_path>/fork_external_tests_config.json' -> Project 'fork-runner' not found in root project 'MyProject'.

  3. ./gradlew fork -Pargs='--config /fork_external_tests_config.json' -> Can't find config: No strategy was chosen in configuration, so defaulting to one pool per device Configuring devices and pools failed com.shazam.fork.pooling.NoDevicesForPoolException:

fork_external_tests_config.json is located at the root of the project

content of file:
{ "title": "Title", "subtitle": "Subtitle", "testPackage": "com.package.tests.external", "retryPerTestCaseQuota": 1, "totalAllowedRetryQuota": 10, "testOutputTimeout": 300000, "poolingStrategy": { "manual": { "groupings": { "emulators": [ ".*-5554", ".*-5556" ] } } } }

version: 3.12.0

@RuslanNelipa RuslanNelipa changed the title Fork command with arguments doesn't work Standalone Fork command with arguments doesn't work Aug 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant