DRT gets stuck on "Already impersonating; click here to change back to brian.pratt@insilicos.com." | adam | 2009-09-30 17:55 |
Status: Closed | ||
Which test is this... SecurityTest? Nothing obvious comes to mind -- it doesn't seem to be a problem on TeamCity. Easiest is probably for you to debug it to find out exactly what line is causing the problem. Create a new IntelliJ remote Run/Debug configuration for localhost:5005; call it "drt". Invoke the test in debug mode: ant drt-debug -Dtest=security After starting up, the test will wait for you to connect to port 5005. In IntelliJ, set a breakpoint before the problematic statement, select your "drt" configuration, and debug. The test will continue and you can step through the statements. Adding log statements might be helpful as well. BTW, you shouldn't have to manually clean anything up -- you can clean up after a single test using -Dcleanonly=true, so: ant drt -Dtest=security -Dcleanonly=true In addition, every test should clean up before running. |
||