felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clem...@apache.org
Subject svn commit: r1449302 - /felix/trunk/ipojo/runtime/core-it/src/it/ipojo-core-logger-test/pom.xml
Date Sat, 23 Feb 2013 11:51:47 GMT
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



Mime
View raw message