forcedotcom / devops-center-feedback

61 stars 2 forks source link

Allow Async test execution #206

Open SporcleHans opened 2 years ago

SporcleHans commented 2 years ago

My org has a lot of tests. Usually it takes 3 and a half hours or longer for all tests in my org to run. When attempting to promote a work item bundle eventually it will say that the promotion has failed due to connection timeout ( MetadataTransferError: Metadata API request failed: The client has timed out. ), even though the tests for the deployment are still running in production. If the tests pass in production, the work item bundle is deployed into production, but DevOps Center still believes the work item bundle failed the promotion.

To Reproduce Steps to reproduce the behavior:

  1. Have an org with a lot of tests that take an extended time to run them all
  2. Attempt to promote a work item or work bundle with all tests run

Expected behavior DevOps Center should not time out with tests run.

SporcleHans commented 2 years ago

If it's possible to know if this may be fixed in a later version that would be helpful. It would be helpful in deciding whether to use devops center as our main deployment strategy, or if we need to hold off for now.

GilsonCanario commented 2 years ago

Hi @SporcleHans, My apologies for the late response and thank you for opening this issue. DevOps Center has a 2 hour timeout for a deployment. I will open a new user story for our team to address this in a future release. As a workaround (if it's acceptable) might be to consider running a subset of tests.

git2gus[bot] commented 2 years ago

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

SporcleHans commented 2 years ago

Hi @SporcleHans, My apologies for the late response and thank you for opening this issue. DevOps Center has a 2 hour timeout for a deployment. I will open a new user story for our team to address this in a future release. As a workaround (if it's acceptable) might be to consider running a subset of tests.

Thanks I appreciate it. I've been using that workaround so far, but it is helpful to run all tests when making edits to things like triggers.

NiteshJain-Moodys commented 11 months ago

Hi team, we are still facing this issue in our org, and it failed to merge the branch even if deployment is successful. We also have same issue test class run for 3 and more hours, can you please let me know when will it get fixed?

The deployment of the work items into the next stage failed. MetadataTransferError: Metadata API request failed: The client has timed out.