Ao executar duas implantações em que a segunda foi feita logo após a primeira, a segunda falhará com o seguinte erro: "Erro fatal: LIMIT_EXCEEDED: Tente implantar novamente." Sua implantação excedeu o limite máximo de tentativas. Se você continuar vendo esse erro, entre em contato com o Suporte ao cliente da Salesforce.
Resultados esperados
A segunda implantação é bem-sucedida.
Resultados reais
A segunda implantação falha.
REPRODUÇÃO:
1) Faça login na organização.
2) Crie a seguinte classe de teste do Apex.
public class Test {
@isTest
public static void test1() {
String dummyString = '';
Integer max = 100000;
for (Integer i = 0; i < max; i++) {
Integer rand = Math.round(Math.random() * 1000);
dummyString = dummyString + String.valueOf(rand);
}
}
@isTest
public static void test2() {
String dummyString = '';
Integer max = 100000;
for (Integer i = 0; i < max; i++) {
Integer rand = Math.round(Math.random() * 1000);
dummyString = dummyString + String.valueOf(rand);
}
}
3) Baixe os arquivos zip que serão usados no teste.
4) Vá para o workbench, implante usando o arquivo zip, escolha o nível de teste como RunAllTestInOrg e deixe todo o restante como padrão. Clique em Avançar e em Implantar.
5) Repita a etapa 5 imediatamente.
6)A segunda implantação deve falhar e exibir o erro.
Espace as implantações.
A segunda implantação não deve ser retirada da fila até que a primeira implantação seja concluída. Não faz sentido retirá-la da fila se outra implantação estiver em execução, pois não será possível obter o bloqueio. Tente implantar novamente depois de ocorrer a falha em adquirir o bloqueio.
000381180

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.