archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Barboni" <barb...@irit.fr>
Subject Random unit test fail during build
Date Mon, 27 Feb 2012 16:45:19 GMT
Hi archiva dev team,

 I tried to build archiva to see how the new UI looks and also be able to
give better feedback on an issue I have with metadata (already reported). 

I follow the steps here http://archiva.apache.org/developers/building.html
step 1 and 2 works fine.

 

But while trying to build step 3 unit test fail in two ways [1] and [2]
(output).

 

I would be happy to help archiva.  I have some hci background and web design
skill (not logo or image design).

 

Best Regards

 

Eric Barboni

 

[1]---

In Archiva Base :: Repository Interface Layer

----------------------------------------------------------------------------
---

Test set: org.apache.archiva.repository.metadata.MetadataToolsTest

----------------------------------------------------------------------------
---

Tests run: 21, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.076 sec
<<< FAILURE!

testGatherSnapshotVersionsA(org.apache.archiva.repository.metadata.MetadataT
oolsTest)  Time elapsed: 0.029 sec  <<< FAILURE!

java.lang.AssertionError: Assert Snapshot Versions: length/size expected:<8>
but was:<9>

at org.junit.Assert.fail(Assert.java:91)

 

[2]---

In Archiva Base :: Policies 

----------------------------------------------------------------------------
---

Test set: org.apache.archiva.policies.CachedFailuresPolicyTest

----------------------------------------------------------------------------
---

Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.934 sec
<<< FAILURE!

testPolicyYesNotInCache(org.apache.archiva.policies.CachedFailuresPolicyTest
)  Time elapsed: 0.005 sec  <<< ERROR!

org.apache.archiva.policies.PolicyViolationException: NO to fetch,
check-failures detected previous failure on url:
http://a.bad.hostname.maven.org/path/to/resource.txt

at
org.apache.archiva.policies.CachedFailuresPolicy.applyPolicy(CachedFailuresP
olicy.java:95)

 

 

 

 

                                       


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message