You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by David Ezzio <de...@apache.org> on 2008/01/31 15:42:23 UTC

Question about the number of tests

How is that in TeamCity, it indicates that 39,575 tests were run while 
locally I see 529 tests were run (for the test goal)?

Re: Question about the number of tests

Posted by Patrick Linskey <pl...@gmail.com>.
FTR, I just did 'mvn clean && mvn install' successfully.

-Patrick

On Feb 6, 2008 1:52 PM, Marc Prud'hommeaux <mp...@apache.org> wrote:
>
> For the record, we had once tried to upgrade to surefire 2.3, but we
> reverted due to the issue described at:
>
>    http://issues.apache.org/jira/browse/OPENJPA-186
>
> If that is no longer occurring, then I think upgrading surefire to 2.4
> is a nice advance.
>
>
>
> On Feb 6, 2008, at 12:28 PM, Patrick Linskey wrote:
>
> > It looks like surefire 2.4 fixes this issue. We were holding our tests
> > to surefire 2.2 for some reason (presumably a bug in 2.3); I've
> > removed that restriction, and the counts look much better now (at
> > least on the 1.0.x branch; the trunk build is still running).
> >
> > The removal of the 2.2 restriction means that running 'mvn compile
> > -Dtest=false' will now report test failures, since no test called
> > 'false' will be found. Instead, we can run 'mvn compile -DskipTests'.
> >
> > -Patrick
> >
> > On Jan 31, 2008 7:52 AM, Patrick Linskey <pl...@gmail.com> wrote:
> >> There's a bug in surefire that mis-counts bugs somehow.
> >>
> >> -Patrick
> >>
> >>
> >> On Jan 31, 2008 7:32 AM, David Ezzio <de...@apache.org> wrote:
> >>> Actually, miscounted a few, but even so, the total that I now get
> >>> (819)
> >>> is quite different from what TeamCity reports.
> >>>
> >>>
> >>> David Ezzio wrote:
> >>>> How is that in TeamCity, it indicates that 39,575 tests were run
> >>>> while
> >>>> locally I see 529 tests were run (for the test goal)?
> >>>>
> >>>
> >>
> >>
> >>
> >> --
> >> Patrick Linskey
> >> 202 669 5907
> >>
> >
> >
> >
> > --
> > Patrick Linskey
> > 202 669 5907
>
>



-- 
Patrick Linskey
202 669 5907

Re: Question about the number of tests

Posted by Marc Prud'hommeaux <mp...@apache.org>.
For the record, we had once tried to upgrade to surefire 2.3, but we  
reverted due to the issue described at:

   http://issues.apache.org/jira/browse/OPENJPA-186

If that is no longer occurring, then I think upgrading surefire to 2.4  
is a nice advance.


On Feb 6, 2008, at 12:28 PM, Patrick Linskey wrote:

> It looks like surefire 2.4 fixes this issue. We were holding our tests
> to surefire 2.2 for some reason (presumably a bug in 2.3); I've
> removed that restriction, and the counts look much better now (at
> least on the 1.0.x branch; the trunk build is still running).
>
> The removal of the 2.2 restriction means that running 'mvn compile
> -Dtest=false' will now report test failures, since no test called
> 'false' will be found. Instead, we can run 'mvn compile -DskipTests'.
>
> -Patrick
>
> On Jan 31, 2008 7:52 AM, Patrick Linskey <pl...@gmail.com> wrote:
>> There's a bug in surefire that mis-counts bugs somehow.
>>
>> -Patrick
>>
>>
>> On Jan 31, 2008 7:32 AM, David Ezzio <de...@apache.org> wrote:
>>> Actually, miscounted a few, but even so, the total that I now get  
>>> (819)
>>> is quite different from what TeamCity reports.
>>>
>>>
>>> David Ezzio wrote:
>>>> How is that in TeamCity, it indicates that 39,575 tests were run  
>>>> while
>>>> locally I see 529 tests were run (for the test goal)?
>>>>
>>>
>>
>>
>>
>> --
>> Patrick Linskey
>> 202 669 5907
>>
>
>
>
> -- 
> Patrick Linskey
> 202 669 5907


Re: Question about the number of tests

Posted by Patrick Linskey <pl...@gmail.com>.
It looks like surefire 2.4 fixes this issue. We were holding our tests
to surefire 2.2 for some reason (presumably a bug in 2.3); I've
removed that restriction, and the counts look much better now (at
least on the 1.0.x branch; the trunk build is still running).

The removal of the 2.2 restriction means that running 'mvn compile
-Dtest=false' will now report test failures, since no test called
'false' will be found. Instead, we can run 'mvn compile -DskipTests'.

-Patrick

On Jan 31, 2008 7:52 AM, Patrick Linskey <pl...@gmail.com> wrote:
> There's a bug in surefire that mis-counts bugs somehow.
>
> -Patrick
>
>
> On Jan 31, 2008 7:32 AM, David Ezzio <de...@apache.org> wrote:
> > Actually, miscounted a few, but even so, the total that I now get (819)
> > is quite different from what TeamCity reports.
> >
> >
> > David Ezzio wrote:
> > > How is that in TeamCity, it indicates that 39,575 tests were run while
> > > locally I see 529 tests were run (for the test goal)?
> > >
> >
>
>
>
> --
> Patrick Linskey
> 202 669 5907
>



-- 
Patrick Linskey
202 669 5907

Re: Question about the number of tests

Posted by Patrick Linskey <pl...@gmail.com>.
There's a bug in surefire that mis-counts bugs somehow.

-Patrick

On Jan 31, 2008 7:32 AM, David Ezzio <de...@apache.org> wrote:
> Actually, miscounted a few, but even so, the total that I now get (819)
> is quite different from what TeamCity reports.
>
>
> David Ezzio wrote:
> > How is that in TeamCity, it indicates that 39,575 tests were run while
> > locally I see 529 tests were run (for the test goal)?
> >
>



-- 
Patrick Linskey
202 669 5907

Re: Question about the number of tests

Posted by David Ezzio <de...@apache.org>.
Actually, miscounted a few, but even so, the total that I now get (819) 
is quite different from what TeamCity reports.

David Ezzio wrote:
> How is that in TeamCity, it indicates that 39,575 tests were run while 
> locally I see 529 tests were run (for the test goal)?
>