From 5318719622347f247fb659cf7ac3934c4449272f Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Fri, 3 Mar 2017 14:11:34 -0500 Subject: Increase timeout waiting for MSO Change-Id: I63a76123bdcbf9cc70d5f0127ebd559225d2f573 Signed-off-by: Pamela Dragosh --- mso/src/main/java/org/openecomp/policy/mso/MSOManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mso') diff --git a/mso/src/main/java/org/openecomp/policy/mso/MSOManager.java b/mso/src/main/java/org/openecomp/policy/mso/MSOManager.java index 75369e6e4..dcac32626 100644 --- a/mso/src/main/java/org/openecomp/policy/mso/MSOManager.java +++ b/mso/src/main/java/org/openecomp/policy/mso/MSOManager.java @@ -60,7 +60,7 @@ public final class MSOManager { System.out.println(body); String requestId = response.requestReferences.requestId; - int attemptsLeft = 7; + int attemptsLeft = 20; //String getUrl = "/orchestrationRequests/v2/"+requestId; String urlGet = urlBase + "/orchestrationRequests/v2/"+requestId; @@ -84,7 +84,7 @@ public final class MSOManager { Thread.sleep(20000); } - System.out.println("***** ######## VF Module Creation takes too long... can't wait longer. Status: ("+responseGet.request.requestStatus.requestState+")"); + System.out.println("***** ######## VF Module Creation timeout. Status: ("+responseGet.request.requestStatus.requestState+")"); return responseGet; } catch (JsonSyntaxException e) { System.err.println("Failed to deserialize into MSOResponse" + e.getLocalizedMessage()); -- cgit 1.2.3-korg