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
levaleva 

Chatter Unfollow block deployments to productions

Hello we installed managed Chatter Unfollow application and it causes issues when moving code/objects to production. UnfollowTests class methods fail and deployment is aborted 

 

Here is the ant  error log:

 

Test failure, method: chttrunfollow.UnfollowTests.testRemoveDelayBatchJobFromQueue 
-- System.AssertException: Assertion Failed: Expected: 0, Actual: 4 stack (chttrunfollow)External entry point

Test failure, method: chttrunfollow.UnfollowTests.verifyDelayScheduler 
-- System.StringException: Invalid parameter value for parameter "id". stack (chttrunfollow) External entry point

Test failure, method: chttrunfollow.UnfollowTests.verifyUnfollowQueueEmptiesProperly 
-- System.AssertException: Assertion Failed: Expected: 0, Actual: 2 stack (chttrunfollow) External entry point

Test failure, method: chttrunfollow.UnfollowTests2.verifyReportingJobDetailsDelay 
-- System.AssertException: Assertion Failed: Expected: 0, Actual: 2 stack (chttrunfollow) External entry point

 

 

jkucerajkucera

Hi Leva - I'm the author of the app.  Sorry for the issues here.  

 

Are you saying you installed the app on a sandbox or dev org and then when you tried to migrate, some of the tests failed?  

 

All of the tests listed below are related to how the app processes the batch jobs.  Do you have a lot of batch jobs running in your prod org that aren't in your test environment?

levaleva

Hi John,

 

Thank you for taking a look.

 

Actually it went the other way. First we installed the app in production only and it worked fine (actively used for about a month).   

In the meantime I started working on some code in sandboxes when attempted to move the new development the test classes started to fail (in production).  At that point the unfollow app was not installed in the sandboxes and the stuff we are trying to move is not chatter related.

 

There a lot more scheduled jobs in production  



 

Thank you