You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Jeroen Hoek <je...@lable.org> on 2014/03/31 13:27:37 UTC

Test error in Archiva 2.0.1

Hello,

Running mvn clean install on the Archiva 2.0.1 source zip causes one
test to fail:


testDefaultRepositoryScanner(org.apache.archiva.repository.scanner.RepositoryScannerTest)
 Time elapsed: 0.028 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Processed Count (of invalid
items) expected:<6> but was:<5>
    at junit.framework.Assert.fail(Assert.java:57)
    at junit.framework.Assert.failNotEquals(Assert.java:329)
    at junit.framework.Assert.assertEquals(Assert.java:78)
    at junit.framework.Assert.assertEquals(Assert.java:234)
    at junit.framework.TestCase.assertEquals(TestCase.java:401)
    at org.apache.archiva.repository.scanner.RepositoryScannerTest.testDefaultRepositoryScanner(RepositoryScannerTest.java:255)


Results :

Failed tests:
  RepositoryScannerTest.testDefaultRepositoryScanner:255 Processed
Count (of invalid items) expected:<6> but was:<5>


All other tests pass.

* Ubuntu 13.10
* java-7-oracle


Kind regards,

Jeroen Hoek

Re: Test error in Archiva 2.0.1

Posted by Olivier Lamy <ol...@apache.org>.
yes please!

Thanks
Olivier


On 4 April 2014 19:00, Jeroen Hoek <je...@lable.org> wrote:
> Should I refile this bug on Codehaus Jira? I didn't think it was
> possible to register there before the registration link was posted
> this week.
>
> 2014-03-31 13:27 GMT+02:00 Jeroen Hoek <je...@lable.org>:
>> Hello,
>>
>> Running mvn clean install on the Archiva 2.0.1 source zip causes one
>> test to fail:
>>
>>
>> testDefaultRepositoryScanner(org.apache.archiva.repository.scanner.RepositoryScannerTest)
>>  Time elapsed: 0.028 sec  <<< FAILURE!
>> junit.framework.AssertionFailedError: Processed Count (of invalid
>> items) expected:<6> but was:<5>
>>     at junit.framework.Assert.fail(Assert.java:57)
>>     at junit.framework.Assert.failNotEquals(Assert.java:329)
>>     at junit.framework.Assert.assertEquals(Assert.java:78)
>>     at junit.framework.Assert.assertEquals(Assert.java:234)
>>     at junit.framework.TestCase.assertEquals(TestCase.java:401)
>>     at org.apache.archiva.repository.scanner.RepositoryScannerTest.testDefaultRepositoryScanner(RepositoryScannerTest.java:255)
>>
>>
>> Results :
>>
>> Failed tests:
>>   RepositoryScannerTest.testDefaultRepositoryScanner:255 Processed
>> Count (of invalid items) expected:<6> but was:<5>
>>
>>
>> All other tests pass.
>>
>> * Ubuntu 13.10
>> * java-7-oracle
>>
>>
>> Kind regards,
>>
>> Jeroen Hoek
>
>
>
> --
> Vriendelijke groeten,
>
> Jeroen Hoek
>
> Lable
> ✉ jeroen@lable.org
> ℡ 088 44 20 202
>
> http://lable.org
> KvK № 55984037
> BTW № NL8519.32.411.B.01



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

Re: Test error in Archiva 2.0.1

Posted by Jeroen Hoek <je...@lable.org>.
Should I refile this bug on Codehaus Jira? I didn't think it was
possible to register there before the registration link was posted
this week.

2014-03-31 13:27 GMT+02:00 Jeroen Hoek <je...@lable.org>:
> Hello,
>
> Running mvn clean install on the Archiva 2.0.1 source zip causes one
> test to fail:
>
>
> testDefaultRepositoryScanner(org.apache.archiva.repository.scanner.RepositoryScannerTest)
>  Time elapsed: 0.028 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Processed Count (of invalid
> items) expected:<6> but was:<5>
>     at junit.framework.Assert.fail(Assert.java:57)
>     at junit.framework.Assert.failNotEquals(Assert.java:329)
>     at junit.framework.Assert.assertEquals(Assert.java:78)
>     at junit.framework.Assert.assertEquals(Assert.java:234)
>     at junit.framework.TestCase.assertEquals(TestCase.java:401)
>     at org.apache.archiva.repository.scanner.RepositoryScannerTest.testDefaultRepositoryScanner(RepositoryScannerTest.java:255)
>
>
> Results :
>
> Failed tests:
>   RepositoryScannerTest.testDefaultRepositoryScanner:255 Processed
> Count (of invalid items) expected:<6> but was:<5>
>
>
> All other tests pass.
>
> * Ubuntu 13.10
> * java-7-oracle
>
>
> Kind regards,
>
> Jeroen Hoek



-- 
Vriendelijke groeten,

Jeroen Hoek

Lable
✉ jeroen@lable.org
℡ 088 44 20 202

http://lable.org
KvK № 55984037
BTW № NL8519.32.411.B.01