Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B4AE3200BCA for ; Mon, 21 Nov 2016 11:21:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B4555160AF9; Mon, 21 Nov 2016 10:21:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 07360160AEC for ; Mon, 21 Nov 2016 11:21:04 +0100 (CET) Received: (qmail 48240 invoked by uid 500); 21 Nov 2016 10:21:04 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 48229 invoked by uid 99); 21 Nov 2016 10:21:04 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2016 10:21:04 +0000 Received: from ok2c (unknown [213.55.184.154]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 6C85F1A0112 for ; Mon, 21 Nov 2016 10:21:03 +0000 (UTC) Message-ID: <1479723661.24124.12.camel@apache.org> Subject: Remove OSGi tests? Re: OSGi test failures From: Oleg Kalnichevski To: HttpComponents Project Date: Mon, 21 Nov 2016 11:21:01 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit archived-at: Mon, 21 Nov 2016 10:21:05 -0000 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