Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
This repository was 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

Description

@jdrbc

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

Activity

  1. added
    analysis
    on Nov 7, 2023
  2. added
    enhancement
    and removed
    analysis
    on Nov 7, 2023
  3. added this to the December 23 milestone on Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions