aboutsummaryrefslogtreecommitdiffstats
path: root/policy-management/src/test/java
diff options
context:
space:
mode:
authorParshad Patel <pars.patel@samsung.com>2018-11-07 16:36:25 +0900
committerParshad Patel <pars.patel@samsung.com>2018-11-07 16:47:02 +0900
commitf14baf16a435eaa1ed8714741996ed01775572f8 (patch)
treec9188dcbfa69256f22f5a46819da6098cd7b38f1 /policy-management/src/test/java
parent99200202b14077b6a6786784a050fc8a4db9519a (diff)
Fix for Test failure issue in drools-pdp
Replace JAVA_HOME with PATH env variable in assert statement Issue-ID: POLICY-1241 Change-Id: I2441d7be44a9578a3137a7a0b5747ec0799f0869 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
Diffstat (limited to 'policy-management/src/test/java')
-rw-r--r--policy-management/src/test/java/org/onap/policy/drools/system/PolicyEngineManagerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/policy-management/src/test/java/org/onap/policy/drools/system/PolicyEngineManagerTest.java b/policy-management/src/test/java/org/onap/policy/drools/system/PolicyEngineManagerTest.java
index 0cc880d1..5329dcc3 100644
--- a/policy-management/src/test/java/org/onap/policy/drools/system/PolicyEngineManagerTest.java
+++ b/policy-management/src/test/java/org/onap/policy/drools/system/PolicyEngineManagerTest.java
@@ -353,7 +353,7 @@ public class PolicyEngineManagerTest {
props1.setProperty(propKey, newValue);
assertEquals(props1, env);
- assertNotNull(mgr.getEnvironmentProperty("JAVA_HOME"));
+ assertNotNull(mgr.getEnvironmentProperty("PATH"));
assertNull(mgr.getEnvironmentProperty("unknown-env-property"));
}