aboutsummaryrefslogtreecommitdiffstats
path: root/policy-management/src/main
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-07-27 10:46:21 -0500
committerJorge Hernandez <jh1730@att.com>2017-07-27 10:49:55 -0500
commitd1d749ae390c276fc10c4985d0080f0a9ff7ff35 (patch)
treef6a5fda74f6aa3046c4be29d51166b477872a53d /policy-management/src/main
parent80ee2a4d8418d9292254278ac7eb42530e7ae25f (diff)
[POLICY-52] pdp-d: PolicyEngine junits
Change-Id: I8c85d75d7eddd7c959ed4cfb7167b58d9c7c9854 Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'policy-management/src/main')
-rw-r--r--policy-management/src/main/java/org/openecomp/policy/drools/system/PolicyEngine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/policy-management/src/main/java/org/openecomp/policy/drools/system/PolicyEngine.java b/policy-management/src/main/java/org/openecomp/policy/drools/system/PolicyEngine.java
index 633d2379..02479ec8 100644
--- a/policy-management/src/main/java/org/openecomp/policy/drools/system/PolicyEngine.java
+++ b/policy-management/src/main/java/org/openecomp/policy/drools/system/PolicyEngine.java
@@ -696,7 +696,7 @@ class PolicyEngineManager implements PolicyEngine {
for (HttpServletServer httpServer: this.httpServers) {
try {
- if (!httpServer.start())
+ if (!httpServer.waitedStart(5 * 1000L))
success = false;
} catch (Exception e) {
logger.error("{}: cannot start http-server {} because of {}", this,