forcedotcom / forcedotcom/devops-center-feedback

Unable to promote Apex test class, where test coverage is spread between two Apex test classes

Open
#61 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
No language data
Stars
61
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Unable to promote Apex test class, where test coverage is spread between two Apex test classes. The deployment takes longer period of time to even report a failure. Promotion goes into infinity loop.

Steps to reproduce the behavior:
1. Create a apex test class with two methods: **Method1** and **Method2**.
2. Create apex test **Test_Class_1** to test the **Method1** .
3. Create another apex test **Test_Class_2** to test **Method2** .
4. Create a work item, approve the workitem.
5. Promote the work item.
...

**Expected behavior**
Promotion should be successful.

**Screenshots**
![image](https://user-images.githubusercontent.com/60336882/124281461-59d24900-db67-11eb-88ab-564b4edf1470.png)
![image](https://user-images.githubusercontent.com/60336882/124281514-6787ce80-db67-11eb-9a88-6fb051104cfb.png)

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.