Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

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

Closed
Rihan9 opened this issue May 28, 2021 · 4 comments
Closed
Labels
feature Issue or pull request for a new feature

Comments

@Rihan9
Copy link

Rihan9 commented May 28, 2021

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 Rihan9 added the feature Issue or pull request for a new feature label May 28, 2021
@github-actions
Copy link

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.

@uip-robot-zz
Copy link

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

@amarek-cytiva
Copy link

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.

@Rihan9
Copy link
Author

Rihan9 commented Apr 19, 2022

@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.

@forcedotcom forcedotcom locked and limited conversation to collaborators Jun 26, 2023
@WillieRuemmele WillieRuemmele converted this issue into discussion #2260 Jun 26, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
feature Issue or pull request for a new feature
Projects
None yet
Development

No branches or pull requests

3 participants