-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--fail-fast dont work on multhread execution #895
Comments
that might be fixable by making the other processes finalize the report |
But we assemble the report in at_exit, but what happens is that when the threads are interrupted the json files not exist fro him to assemble the final report, he simply stops the execution |
|
each worker also has to dump their report at_exit to make this work ? |
in this case yes, because they are independent executions and at the end it groups all the reports |
any news? |
idk this is complicated 😞 |
ok, let's try to reproduce our project without exposing our data, as soon as we have it we will attach it here |
Ideally just as simple a pic as possible 😀
…On Thu, Mar 30, 2023, 1:08 PM T00595 ***@***.***> wrote:
idk this is complicated 😞 ... can you make a simple example repo that
shows the problem ? would help verifying any fix that we come up with and
allow me to play with the setup you are running
ok, let's try to reproduce our project without exposing our data, as soon
as we have it we will attach it here
—
Reply to this email directly, view it on GitHub
<#895 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACYZYLMDHDABH2L6YSEYLW6XR3PANCNFSM6AAAAAAVWVGZEM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@grosser As per the above conversation, here is a structure similar to ours. It has a basic test, but it shows the same error as ours. |
and when I remove ruby-oci8 I get
when I meant was an example that has 2-4 tests that all sleep for example and then 1 of them fails |
about the devices, you need to have android studio installed on your machine together with the appium, create a device in the android studio nexus 5x, after that start the appium and run the automation code so you won't have this error. |
Hello everything is fine? I have a very specific problem with the gem, here in our project we run the automation in parallel on a farm of devices, we try to apply the fail fast command but when we run it like this, the command does not generate the cucumber report since it just kills the threads but does not generate the final report, why do we want that? We have the smoke tests and we need it to stop running when it finds the first failure to save time for the next run.
here the command used:
execute_command logger "bundle exec parallel_cucumber #{load_features_path_from_file(args)} -n #{number_of_devices(args)} --group-by scenarios --first-is-1 --fail-fast "
here it interrupts the threads but does not generate the cucumber report:
The text was updated successfully, but these errors were encountered: