maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Finer control of surefire method parallelism?
Date Fri, 20 Jun 2014 14:18:57 GMT
That wouldn't have worked, but some

   synchronized (CommandClass.class) {
   }

in the test methods did.


On Fri, Jun 20, 2014 at 8:23 AM, Kristian Rosenvold
<kristian.rosenvold@gmail.com> wrote:
> I would add a static threadlocal buffer to the PrintStream you're installing :)
>
> Kristian
>
>
> 2014-06-20 13:56 GMT+02:00 Benson Margulies <bimargulies@gmail.com>:
>> I've got some tests that are validating the usage messages of main
>> methods. To do this, they go and call System.setOut. Running two of
>> these in parallel is, of course, a disaster.
>>
>> Is there any way to exempt a class from the parallel option?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message