hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Remove OSGi tests? Re: OSGi test failures
Date Mon, 21 Nov 2016 10:21:01 GMT
On Sun, 2016-11-20 at 10:44 -0800, Gary Gregory wrote:
> The current Core code gives me failures in the OSGi Bundle module tests:
> 
> Tests in error:
>   ActuallyConnectIT.org.apache.hc.core5.http.osgi.ActuallyConnectIT ╗
> TestContainer
>   AnnotationIT.org.apache.hc.core5.http.osgi.AnnotationIT ╗ TestContainer
> There ...
>   ConcurrentIT.org.apache.hc.core5.http.osgi.ConcurrentIT ╗ TestContainer
> There ...
> 
> Does anyone else see this?
> 
> I am using:
> 
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T08:41:47-08:00)
> Maven home: E:\Java\apache-maven-3.3.9\bin\..
> Java version: 1.7.0_79, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_79\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> 
> Gary
> 

Hi Gary

The OSGi tests got broken by my moving classes around and migration from
Commons Logging to Log4j2. While the former is trivial to fix, so far I
was unable to fix the latter. Essentially the embedded OSGi container
used by the tests needs to be switched from slf4j/logback to log4j2 or
log4j2 dependency should be imported directly by the tests (or likely
both), which should be possible but I have no idea how to do so. 

Realistically we do not have anyone on the project both willing and
capable of maintaining those tests.

I'll give it another try later today and if I fail I'll seriously
consider removing OSGi tests unless some gallant knight in shining armor
comes to our rescue and fixes the damn tests. 

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message