This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.testing.paxexam-0.0.2
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-paxexam.git

commit fa79743b4b5af3518fca90fc1672fc2ed0c4fde7
Author: Oliver Lietz <[email protected]>
AuthorDate: Mon Jul 25 12:25:11 2016 +0000

    SLING-5897 Fail the test by default if there are unresolved bundles
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/testing/org.apache.sling.testing.paxexam@1753983
 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/testing/paxexam/TestSupport.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java 
b/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java
index c9d1511..5cf2e3e 100644
--- a/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java
+++ b/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java
@@ -31,6 +31,7 @@ import org.osgi.service.cm.ConfigurationAdmin;
 import static org.ops4j.pax.exam.CoreOptions.composite;
 import static org.ops4j.pax.exam.CoreOptions.keepCaches;
 import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
+import static org.ops4j.pax.exam.CoreOptions.systemProperty;
 
 public abstract class TestSupport {
 
@@ -62,6 +63,7 @@ public abstract class TestSupport {
     protected Option baseConfiguration() {
         return composite(
             keepCaches(),
+            systemProperty("pax.exam.osgi.unresolved.fail").value("true"),
             CoreOptions.workingDirectory(workingDirectory()),
             
mavenBundle().groupId("org.apache.sling").artifactId("org.apache.sling.testing.paxexam").versionAsInProject()
         );

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to