Jenkins saves complete sysout. Jou just have to go to build artifacts and download the test xml file.
Erick Erickson <[email protected]> schrieb: >I wasn't very clear. Since I can't get the tests to fail in my local >environment, I was trying for the verbose output for this particular >test >_whenever_ the test was run. Is it reasonable to set the system var for >tests.showSuccess=true in my @BeforeClass? > >Thanks, >Erick > > >On Mon, Mar 4, 2013 at 9:52 AM, Dawid Weiss ><[email protected]>wrote: > >> By default the output from tests that passed is not dumped to the >> console (you wouldn't be able to track which JVM dumped what anyway >> when running on multicore). If you need a full log then: >> >> > ant test-help >> ... >> [echo] # Include additional information like what is printed to >> [echo] # sysout/syserr, even if the test passes. >> [echo] # Enabled automatically when running for a single test >case. >> [echo] ant -Dtests.showSuccess=true test >> >> Should do the job. If you'd like to see the output from jenkins or >any >> other build server then, unless it fails, it won't be on the console. >> >> Dawid >> >> On Mon, Mar 4, 2013 at 3:48 PM, Erick Erickson ><[email protected]> >> wrote: >> > I tried turning on verbose in the OpenCloseCoreStressTests by >setting >> > System.setProperty("tests.verbose", "true"); >> > in @BeforeClass and, of course, it works on my machine. But the >failed >> test >> > logs don't have verbose output, is there some magic here? For the >nonce, >> I'm >> > just doing a bit of hard logging. >> > >> > I also found another place where I screwed up the a Stream by not >closing >> > it, ZkCLI of all places. I've checked that in. >> > >> > Of course all tests pass on my machine. Scant comfort that. >> > >> > I also had yet another assumption proved wrong so I didn't get any >useful >> > info from last night's failure, trying to add some more logging >again >> today. >> > Don't panic that the checking has my initials init, that's so I'm >> absolutely >> > sure to know to take it out. >> > >> > Thanks, >> > Erick >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> -- Uwe Schindler H.-H.-Meier-Allee 63, 28213 Bremen http://www.thetaphi.de
