2 つのリリースを実行し、最初のリリース後すぐに 2 番目のリリースを実行すると、2 番目のリリースが失敗し「Fatal Error: LIMIT_EXCEEDED: Try deploying again. Your deployment exceeded its maximum retry limit. If you keep seeing this error, please contact Salesforce Customer Support.」というエラーが表示されます。
期待される結果
2 つ目のリリースが成功する。
実際の結果
2 つ目のリリースが失敗する。
動作の再現手順:
1) 組織にログインします。
2) 次の 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) テストで使用する zip ファイルをダウンロードします。
4) ワークベンチに移動して zip ファイルを使用してリリースし、テストレベルに RunAllTestInOrg を選択し、それ以外はデフォルトのままにします。[次へ] をクリックして [リリース] をクリックします。
5) すぐにステップ 5 を繰り返します。
6) 2 つ目のリリースがエラーで失敗します。
リリースの間隔を空けます。
2 つ目のリリースは、最初のリリースが完了するまでキューから削除しないでください。他のリリースが実行中である場合、ロックを解除できないため、キューからの削除を解除しても意味はありません。ロックの取得に失敗した場合、リリースを再試行します。
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.