Open anandkiran2007 opened 4 years ago
It's funny that the very useful functionality implemented in this PR is still not merged or even commented on. @anandkiran2007 good luck man. Just try a better solution for your needs - https://marathonlabs.io
@anandkiran2007 Sorry for the delay on this. I am taking a look at this and will revert soon.
Can this be closed if the changes can be merged ?
Notes PROBLEM STATEMENT: In certain situations, consumers prioritize obtaining faster test execution results over running the same set of tests across different devices.
SOLUTION: This change aims to tackle the aforementioned issue by introducing additional arguments for users, namely splitTestsAcrossDevices and testSpecFiles (under DeviceState). With this enhancement, the configuration will be modified as follows: [Rephrase the configuration example based on the provided information.]
devicefarm {
In the scenario where the user has multiple devices in the device pool, the updated implementation aims to create separate runs for each testSpec File provided by the user. As a result, the user will observe four different runs in the given example. However, it is important to note that the responsibility of parsing the overall test runs and managing the results will still lie with the user. This change is intended to enhance the speed of obtaining test results, empowering the user to implement their own mechanism for parsing and managing the multiple test runs.
PROBLEM STATEMENT 2: We are facing nullPointerException for accessKey even when we provide roleArn.
SOLUTION: The updated version of DeviceFarmClientFactory now allows users to provide only the roleArn, and it will automatically fetch the necessary credentials and create an AWSDeviceFarm client for the plugin, ensuring proper functionality.
Testing Verified the changes in device farm