You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@archiva.apache.org by Julien Chicoineau <ju...@gmail.com> on 2007/02/21 16:43:38 UTC
Patches proposal for archiva-(reports-standard|proxy|configuration) test cases
Hi there,
I wanted to play with archiva, so I checked out the trunk, installed
connector and jta,
and ran 'mvn install'
It failed for me on test cases for, in order,
archiva-reports-standard, archiva-proxy and
archiva-configuration.
You devs may already be aware of that, if that's the case, well, sorry
for the no-news I bring ;-) and please excuse my laziness in using
some googles... ;-)
Some info :
java.vm.version=R26.4.0-63-63688-1.4.2_11-20060626-2259-linux-ia32
java.vm.name=BEA JRockit(R)
java.runtime.version=1.4.2_11-b06
os.name=Linux
os.version=2.6.17-11-generic
(32bit jvm running on amd64 host)
It mainly seems to me test cases are a bit too lazy... ;-)
archiva-reports-standard :
AbstractChecksumArtifactReporterTestCase doesn't create checksums file
if target directory does already exists (mkdirs returns false) in
method 'writeChecksumFile()'
ChecksumArtifactReporterTest doesn't remove
archiva-reports-standard/src/test/repository/checksumTest after
execution.
archiva-proxy :
ProxyRequestHandlerTest doesn't delete target jar in
testGetInSecondProxiedRepoFirstFailsDisabledCacheFailure and
testGetWhenInBothProxiedReposFirstHasExpiredCacheFailure. Doesn't fail
at first 'mvn install', but failed when 'mvn install' is invoked
twice, without 'mvn clean' between.
archiva-configuration :
ArchivaConfigurationTest doesn't reset
'org.apache.maven.archiva.localRepository' system property in
testGetConfigurationSystemOverride, making testGetConfiguration fail.
Joined patch made at trunk level.
Hoping it will be useful.
--
Julien.
Re: Patches proposal for archiva-(reports-standard|proxy|configuration) test cases
Posted by Brett Porter <br...@apache.org>.
There are significant changes about to land (see Joakim's mail), so
this may not be relevant - let's retest then.
On 22/02/2007, at 2:43 AM, Julien Chicoineau wrote:
> Hi there,
>
> I wanted to play with archiva, so I checked out the trunk, installed
> connector and jta,
> and ran 'mvn install'
>
> It failed for me on test cases for, in order,
> archiva-reports-standard, archiva-proxy and
> archiva-configuration.
>
> You devs may already be aware of that, if that's the case, well, sorry
> for the no-news I bring ;-) and please excuse my laziness in using
> some googles... ;-)
>
> Some info :
> java.vm.version=R26.4.0-63-63688-1.4.2_11-20060626-2259-linux-ia32
> java.vm.name=BEA JRockit(R)
> java.runtime.version=1.4.2_11-b06
> os.name=Linux
> os.version=2.6.17-11-generic
> (32bit jvm running on amd64 host)
>
> It mainly seems to me test cases are a bit too lazy... ;-)
>
> archiva-reports-standard :
> AbstractChecksumArtifactReporterTestCase doesn't create checksums file
> if target directory does already exists (mkdirs returns false) in
> method 'writeChecksumFile()'
>
> ChecksumArtifactReporterTest doesn't remove
> archiva-reports-standard/src/test/repository/checksumTest after
> execution.
>
> archiva-proxy :
> ProxyRequestHandlerTest doesn't delete target jar in
> testGetInSecondProxiedRepoFirstFailsDisabledCacheFailure and
> testGetWhenInBothProxiedReposFirstHasExpiredCacheFailure. Doesn't fail
> at first 'mvn install', but failed when 'mvn install' is invoked
> twice, without 'mvn clean' between.
>
> archiva-configuration :
> ArchivaConfigurationTest doesn't reset
> 'org.apache.maven.archiva.localRepository' system property in
> testGetConfigurationSystemOverride, making testGetConfiguration fail.
>
> Joined patch made at trunk level.
>
> Hoping it will be useful.
>
> --
> Julien.
> <archiva.patch>