Skip to main content
15 events
when toggle format what by license comment
Aug 2, 2020 at 18:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 3, 2020 at 5:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 3, 2019 at 10:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jul 30, 2019 at 22:03 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Mar 26, 2014 at 19:39 answer added Jason Lantz timeline score: 1
Mar 26, 2014 at 13:09 comment added Shane McLaughlin @joshbirk, is it possible that tightening up the query selectivity would help? Is there any correlation between speed during a test run and speed during deployment tests? Any particularly "bad" patterns that would look ok in test run, but behave differently during deploy?
Mar 26, 2014 at 4:56 comment added joshbirk @ShaneMcLaughlin - it depends, but it is a lot easier to have Apex which has to chug through a lot of records with seeAllData as compared to limited only a test data scope.
Mar 26, 2014 at 4:47 comment added Shane McLaughlin @joshbirk what's the impact of seeAllData? What types of problems can it cause that might explain why the one test runs so slowly?
Mar 23, 2014 at 4:13 comment added Shane McLaughlin added answers for Danial and Josh up in the original question.
Mar 21, 2014 at 0:46 answer added greenstork timeline score: 0
Mar 20, 2014 at 21:09 history edited Shane McLaughlin CC BY-SA 3.0
added 262 characters in body
Mar 20, 2014 at 20:29 comment added joshbirk How many of your tests are relying on "SeeAllData" or the equivalent?
Mar 20, 2014 at 16:36 comment added Rao Adding my 2 cents apex tests run even if you try to validate which takes the same time as deploy, only that the validation is a pre step that helps you make sure you do not get to see surprises during deploy. My org has upto 400 test classes and takes painful 55 mins to 80 mins to validate or deploy any component.
Mar 20, 2014 at 16:19 comment added Daniel Hoechst Are you sure it is just the one test that is slow? Whenever you deploy to prod, all tests run every time even if you aren't redeploying them
Mar 20, 2014 at 15:57 history asked Shane McLaughlin CC BY-SA 3.0