cli icon indicating copy to clipboard operation
cli copied to clipboard

String s too long on force:mdapi:deploy and large number of test class to run

Open Rihan9 opened this issue 4 years ago • 4 comments

Is your feature request related to a problem? Please describe. Hi, I need to run a deploy throw sfdx with selective tests to run, but the cmd limit of 8k character block me. Is possible to add something like #360 also for this?

Describe the solution you'd like Add the list of test classes into a file and reference it with -f parameters, or something like this.

Describe alternatives you've considered I try cygwin and powershell which have a character limit much higher without success. I hypothesize that sfdx spawns another cmd inside itself.

Rihan9 avatar May 28 '21 07:05 Rihan9

Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments.

github-actions[bot] avatar May 28 '21 07:05 github-actions[bot]

This issue has been linked to a new work item: W-9334120

uip-robot-zz avatar May 28 '21 07:05 uip-robot-zz

Dear Support team, do we know when this item goona be picked up? With the previous ANT tool, there was no such limitation, in sfdx, it can potentially block the deployment when tiring to use deployment/validation with a big amount of unit tests specified.

amarek-cytiva avatar Apr 04 '22 10:04 amarek-cytiva

@amarek-craftware yeah, I agree. A run all seems to be the only workaround, but it cost us around 2 to 4 more hour to validate.

Rihan9 avatar Apr 19 '22 21:04 Rihan9