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
and stop all the instances, including the ones that do not belong to its test session.
In this example, if the session e54490fd-7cb7-e05a-586e-c3ec23540496 completes faster and cleans up, then the slower one,1acee489-e9d3-4a82-8e50-24f723f60ff8, will start failing after this, because its device will have been stopped by that moment.
Suggested solution
Move the device allocation to the primary (global) context and stop using lock files in the Genymotion SaaS drivers. The global allocation mechanism will track all the devices created throughout the test session, but since it will be happening in memory, there will no longer be a shared file to fight over. Voila! No file – no problem.
Gameplan
The content you are editing has changed. Please copy your edits and refresh the page.
Description
When using the
android.genycloud
device type, it is not possible to run multipledetox test …
commands in parallel like that:The problem is that the fastest command would go over the
~/Library/Detox/genycloud-cleanup.lock
, e.g.:and stop all the instances, including the ones that do not belong to its test session.
In this example, if the session
e54490fd-7cb7-e05a-586e-c3ec23540496
completes faster and cleans up, then the slower one,1acee489-e9d3-4a82-8e50-24f723f60ff8
, will start failing after this, because its device will have been stopped by that moment.Suggested solution
Move the device allocation to the primary (global) context and stop using lock files in the Genymotion SaaS drivers. The global allocation mechanism will track all the devices created throughout the test session, but since it will be happening in memory, there will no longer be a shared file to fight over. Voila! No file – no problem.
Gameplan
Tasks
The text was updated successfully, but these errors were encountered: