FELIX-3903 - Disable logger test on equinox because of a broken implementation of the log service reader
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1449302 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml b/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml
index 3753ac9..096981e 100644
--- a/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml
+++ b/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml
@@ -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