function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Paul Harrington 9Paul Harrington 9 

Production Deployment Errors

Hello SFDC Community

We (Admins) are attempting to deploy a change control process from our production organization from our Test Org (Sandbox).  When validating the deployment I am getting the following errors.  The Change Control process (AKA - Change It!) is an APP that we installed off the exchange intending to leverage to support internal team requests associated with SFDC. 

In regards to error 1 -we have an APP (Inline Account Hierarchy) installed to both our test and production orgainzations to support Parent/Child account relationships

1. testAccountHierarchy.testAccountHierarchy(), Details: System.Exception: Apex CPU time limit exceeded Class.InlineAcountHerachy_TestUtilities.checkObjectCrud: line 39, column 1 Class.InlineAcountHerachy_TestUtilities.createAccounts: line 80, column 1 Class.AccountHierarchyTestData.createTestHierarchy: line 18, column 1 Class.testAccountHierarchy.testAccountHierarchy: line 6, column 1
I am not sure about the Google visualation error?  We do use Google Maps off the Account object.

2. GoogleDataSourceControllerTest.testLimitAndOrderByClauses(), Details: System.Exception: Assertion Failed: Expected: google.visualization.Query.setResponse({version:'0.5',reqId:'0',status:'ok',table:{cols: [{id: "col0", label: "Name", type: "string"}], rows: [{c:[{v: "Test Account2"}]},{c:[{v: "Test Account1"}]}]}});, Actual: google.visualization.Query.setResponse({version:'0.5',reqId:'0',status:'ok',table:{cols: [{id: "col0", label: "Name", type: "string"}], rows: [{c:[{v: "Irone Wilson"}]},{c:[{v: "Test Account2"}]}]}}); Class.GoogleDataSourceControllerTest.testLimitAndOrderByClauses: line 251, column 1

3. Details: Average test coverage across all Apex Classes and Triggers is 73%, at least 75% test coverage is required.

Any help / feedback that you can provide would be greatly appreaciated.

Thanks.
 
Paul Harrington 9Paul Harrington 9
I am now down to one failure which relates to the Account Hierarchy only.....

Component Error:

testAccountHierarchy.testAccountHierarchy(), Details: System.Exception: Apex CPU time limit exceeded Class.InlineAcountHerachy_TestUtilities.checkObjectCrud: line 39, column 1 Class.InlineAcountHerachy_TestUtilities.createAccounts: line 80, column 1 Class.AccountHierarchyTestData.createTestHierarchy: line 18, column 1 Class.testAccountHierarchy.testAccountHierarchy: line 6, column 1
, Details: Average test coverage across all Apex Classes and Triggers is 73%, at least 75% test coverage is required.

Apex Test Failures:

Class Name: testAccountHierarchy
Methiod Name: testAccountHierarchy
Error Msg:
System.Exception: Apex CPU time limit exceeded
Stack Trace: Class.InlineAcountHerachy_TestUtilities.checkObjectCrud: line 37, column 1 Class.InlineAcountHerachy_TestUtilities.createAccounts: line 80, column 1 Class.AccountHierarchyTestData.createTestHierarchy: line 18, column 1 Class.testAccountHierarchy.testAccountHierarchy: line 6, column 1