summaryrefslogtreecommitdiffstats
path: root/controlloop
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-03-19 09:41:10 -0400
committerJim Hahn <jrh3@att.com>2020-03-19 09:41:10 -0400
commit892203b62c51be6256dcb0240e7860ba7298d06d (patch)
treed94d74389b670314bc69619b0a628885e72813fe /controlloop
parent780268ec538e303bc5bd5c93e2b813e0d3dcbcc7 (diff)
Last sonar fix for drools-apps
Remaining issues will be examined/addressed in Guilin. Issue-ID: POLICY-2426 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I2354122ed40e27de472a346001aff4e46d27ccf6
Diffstat (limited to 'controlloop')
-rw-r--r--controlloop/common/rules-test/pom.xml6
-rw-r--r--controlloop/common/rules-test/src/test/java/org/onap/policy/controlloop/common/rules/test/NamedRunnerTest.java5
2 files changed, 5 insertions, 6 deletions
diff --git a/controlloop/common/rules-test/pom.xml b/controlloop/common/rules-test/pom.xml
index ddd897c35..8b24f29a0 100644
--- a/controlloop/common/rules-test/pom.xml
+++ b/controlloop/common/rules-test/pom.xml
@@ -95,12 +95,6 @@
<version>${policy.models.version}</version>
</dependency>
<dependency>
- <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
- <artifactId>events</artifactId>
- <version>${policy.models.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
<artifactId>eventmanager</artifactId>
<version>${project.version}</version>
diff --git a/controlloop/common/rules-test/src/test/java/org/onap/policy/controlloop/common/rules/test/NamedRunnerTest.java b/controlloop/common/rules-test/src/test/java/org/onap/policy/controlloop/common/rules/test/NamedRunnerTest.java
index fe9ff8083..6ee526e4f 100644
--- a/controlloop/common/rules-test/src/test/java/org/onap/policy/controlloop/common/rules/test/NamedRunnerTest.java
+++ b/controlloop/common/rules-test/src/test/java/org/onap/policy/controlloop/common/rules/test/NamedRunnerTest.java
@@ -59,8 +59,13 @@ public class NamedRunnerTest {
checkTest();
}
+ /*
+ * Note: this test is purposely marked with the "Ignore" annotation to verify that the
+ * NamedRunner skips over it, hence the sonar issue is being suppressed.
+ */
@Test
@Ignore
+ @SuppressWarnings("java:S1607")
public void testIgnore() {
fail("should not run");
}