You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cl...@apache.org on 2013/02/23 12:51:47 UTC
svn commit: r1449302 -
/felix/trunk/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml
Author: clement
Date: Sat Feb 23 11:51:46 2013
New Revision: 1449302
URL: http://svn.apache.org/r1449302
Log:
FELIX-3903 - Disable logger test on equinox because of a broken implementation of the log service reader
Modified:
felix/trunk/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml
Modified: felix/trunk/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml?rev=1449302&r1=1449301&r2=1449302&view=diff
==============================================================================
--- felix/trunk/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml (original)
+++ felix/trunk/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml Sat Feb 23 11:51:46 2013
@@ -16,5 +16,35 @@
<artifactId>ipojo-core-logger-test</artifactId>
<name>${project.artifactId}</name>
+
+ <!--
+ Those tests are disabled on equinox, because equinox comes with a broken implementation of the log reader
+ service returning an empty enumeration instead of the collection of logged messages.
+
+ From ExtendedLogReaderServiceFactory.java line 204:
+ Enumeration getLog() {
+ return EMPTY_ENUMERATION;
+ }
+
+ As the tests are based on this, we can't run them on equinox. In addition, registering a log listener is not enough
+ as we miss all messages logged before the registration of the listener.
+ -->
+
+ <profiles>
+ <profile>
+ <id>equinox</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
\ No newline at end of file