Bug 8100: Karaf 4 SingleFeatureTest TestBundleDiag blacklist genius
[odlparent.git] / features4-test / src / main / java / org / opendaylight / odlparent / featuretest / SingleFeatureTest.java
index 26101020a4bb3f43711b8a39270857a58fc6e1b2..33d273ead1e70faf8096dd05c525ba61886a0e82 100644 (file)
@@ -139,6 +139,8 @@ public class SingleFeatureTest {
         return new Option[] {
             // TODO: Find a way to inherit memory limits from Maven options.
             new VMOption("-Xmx2g"),
+            new VMOption("-XX:+HeapDumpOnOutOfMemoryError"),
+            new VMOption("-XX:OnOutOfMemoryError=\"kill -3 %p\""),
             // inspired by org.apache.commons.lang.SystemUtils
             when(System.getProperty("os.name").toLowerCase().startsWith("linux")).useOptions(
                 // This prevents low entropy issues on Linux to affect Java random numbers
@@ -350,6 +352,14 @@ public class SingleFeatureTest {
             "odl-mdsal-clustering-commons",
             "odl-mdsal-distributed-datastore",
             "odl-mdsal-remoterpc-connector",
+            // Karaf 4 specific problems with genius features
+            // see https://bugs.opendaylight.org/show_bug.cgi?id=8100
+            "odl-genius",
+            "odl-genius-api",
+            "odl-genius-rest",
+            "odl-genius-ui",
+            "odl-genius-fcaps-framework",
+            "odl-genius-fcaps-application",
             // 1/17 in groupbasedpolicy/features due to NOK org.opendaylight.groupbasedpolicy
             // Caused by: org.opendaylight.mdsal.eos.common.api.CandidateAlreadyRegisteredException
             // see https://bugs.opendaylight.org/show_bug.cgi?id=7587