-
Notifications
You must be signed in to change notification settings - Fork 294
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
Cucumber-js parallel support #3151
Comments
hey @xenjke ! Thanks for the report. I'll check whether supporting parallel mode is a quick addition, otherwise I'll make sure the documentation is updated and that |
#3156 should fix this issue. I'm disabling |
@juan-fernandez Thank you for looking into this. Could you please provide an update on the estimated time of completion for this backlog item? We are really interested in integrating this feature into our testing framework and are actively exploring opportunities to contribute towards its resolution. If you have any suggestions for external contributors, we would greatly appreciate any insights regarding the necessary requirements or support. Thank you once again for your help. |
hey @xenjke ! I can't provide an update right now, but we'll work on next quarter's planning soon, so I'll be able to tell you then :-). As for contributions, they're more than welcome! The issue with parallel mode is usually that there needs to be interprocess communication between the tracer instances being initialised (an instance per process), because a suite can be "running" in a different process than a test, and the test needs info about the suite. This itself is not a huge deal, but since both parallel and serial mode need to work, the code becomes harder to navigate. This sadly makes this change not the friendliest first contribution to dd-trace-js :-/. In any case, the fact that you're interested in this change is great feedback, so thank you! |
Happy new year team! As we kick off the new year and start planning, do you think we can expect this issue to be resolved in H1 2024? |
Thanks! Happy new year to you too.
I apologize, this slipped by 😅 .
I'd like to tell you that we'll tackle it, but it's unlikely: cucumber usage is not very high and we don't have enough resources to give this any priority. I'm more than happy to help you to contribute this though 😄 |
Expected behaviour
Cucumber-js parallel test run report is uploaded and visible in Test Runs dashboard
Actual behaviour
Cucumber runtime gets terminated by an unhandled exception. Test report doesn't get uploaded when using cucumber-js
--parallel
argument:Steps to reproduce
DD_API_KEY=redacted \ DD_CIVISIBILITY_AGENTLESS_ENABLED=true \ DD_ENV=redacted \ DD_LOGS_INJECTION=true \ DD_SERVICE=redacted \ DD_TAGS=redacted \ DD_TRACE_DEBUG=true \ LOG_LEVEL=debug \ NODE_OPTIONS="-r dd-trace/ci/init" \ npm run local:test:journey:cucumber -- --parallel 1 -d
Environment
If the Cucumber parallel capability isn't supported at the moment, it might be good to update the dd-trace compatibility page
The text was updated successfully, but these errors were encountered: