I have a test that takes about 5 minutes to run during production deployment.
If you just click "run test" or run it from execute anonymous, it's not slow at all (a few seconds).
Is there a way to get the log from a deployment test-run to see what's taking so long? Anyone have any suggestions of things to look at that are known to cause extreme slowness?
Deployment is via ant, if that matters at all.
Extra info based on comments...most of the complex tests have "seeAllData". The data model is very, very complex and it's very valuable to test on the real stuff.
With the new spring14 deployment monitor, you can tell exactly what the offending test is.