Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Parallel apex retry doesn't handle error cases: 'Too many concurrent Apex compilations during resource mitigation' & 'LIMIT_EXCEEDED' #1437

Closed
jdrbc opened this issue Nov 7, 2023 · 0 comments
Labels
enhancement enhancement to existing feature
Milestone

Comments

@jdrbc
Copy link
Contributor

jdrbc commented Nov 7, 2023

Describe the bug

Parallel apex tests that fail with concurrency errors: 'Too many concurrent Apex compilations during resource mitigation' or 'LIMIT_EXCEEDED' are not retried.

Suggested fix: #1436

To Reproduce
Steps to reproduce the behavior:

@IsTest
class ParallelTest {
    @IsTest
    static void limitExceeded() {
	    System.assert(false, 'LIMIT_EXCEEDED');
    }

    @IsTest
    static void otherError() {
	    System.assert(false, 'Too many concurrent Apex compilations during resource mitigation');
    }

    @IsTest
    static void successTest() {
	    System.assert(true, 'yes');
    }
}

Expected behavior

Tests are re-run automatically due to concurrency error message.

Screenshots
n/a

Platform Details (please complete the following information):
n/a

Additional context
n/a

@github-actions github-actions bot added the analysis To be decided on how to solution/fix label Nov 7, 2023
@azlam-abdulsalam azlam-abdulsalam added enhancement enhancement to existing feature and removed analysis To be decided on how to solution/fix labels Nov 7, 2023
@azlam-abdulsalam azlam-abdulsalam added this to the December 23 milestone Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement enhancement to existing feature
Projects
None yet
Development

No branches or pull requests

2 participants