Hello Matt, thanks for this suggestion.
I have not used the JUnit TemporaryFolder rule because it is introduced in JUnit 4 and the Ant test cases are extending a class of JUnit 3. The policy of the Ant project is usually to keep everything binary compatible … If there is interest and willing volunteers and a consensus we could change that, at least in the case of BuildFileTest and JUnit 3/4 and base “BuildFileTest” on JUnit 4. Regards, Antoine On Mar 23, 2014, at 1:50 PM, Matt Sicker <boa...@gmail.com> wrote: > Could you use the JUnit TemporaryFolder rule? That appears to be rather > threadsafe. > > > On 23 March 2014 11:28, Antoine Levy Lambert <anto...@gmx.de> wrote: > >> Hi, >> >> Thanks to John Elion for this contribution. >> >> I have tried it on the Ant test cases. This makes the execution of the >> test cases shorter by 3 minutes with 2 threads [ not sure what is the total >> time because I also run the antunit tests ]. >> >> Some of our test cases do not support parallelism because they are >> creating and dropping temporary directories and files which have the same >> names. >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org