-
Notifications
You must be signed in to change notification settings - Fork 101
orchestrator validate step getting different code coverage from the same ci pool #836
Comments
We have the same issue, even having specific unit tests for each class in a package, the code coverage is not calculated. |
We are looking into this, the possible hypothesis is compilation is not finished due to delay at salesforce end, so tests is skipping those classes. |
@azlam-abdulsalam I agree, since yesterday when I was investigating I saw that some classes didn't get code coverage due to "compilation in progress" status |
…est per package (#869) * fix(apextests): switch to synchronous testing while triggering apex test per package re #836 * [CodeFactor] Apply fixes Co-authored-by: codefactor-io <[email protected]>
…any trigger re #836 Attempt a cleanup to see any potential improvement
…test execution (#871) * fix(apex-tests): clear code coverage and existing test result before any trigger re #836 Attempt a cleanup to see any potential improvement * Add test for chunkArray utility function * fix(clear-coverage): Fix Review comments Co-authored-by: Alan Ly <[email protected]>
This has been fixed in alpha and will be part of the next release. All these test classes that fail to contribute to coverage will be retriggered in serial mode and the test results will be converged for code coverage calculation |
Hello everyone,
I'm running into an issue where on pipeline, same code, same type of scratch org in the same pool, keeps getting different code coverage, and diff a lot, also usually if I run validate locally, I can get 80%~85% in the same pool.
This is a unlocked package
@dxatscale/sfpowerscripts 10.2.6 (10.2.6)
sfdmu 4.12.7
sfpowerkit 4.0.3
node v12.22.3
any solution for this one?
Thank you
The text was updated successfully, but these errors were encountered: