- The root cause of the issue is in the fact the hosttracker
northbound bundles takes long time to reply to a query, why is that is
todo. To avoid this issue however i'm making the timeout for the HTTP
request in the IT to be infinity.
Change-Id: I8b857a24d6ebd03ff27f13c5061106c5202a8c2a
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
request.setUri(restUrl);
request.setMethod(method);
- request.setTimeout(5000); // HostTracker doesn't respond within 3 seconds
+ request.setTimeout(0); // HostTracker doesn't respond
+ // within default timeout during
+ // IT so setting an indefinite
+ // timeout till the issue is
+ // sorted out
Map<String, List<String>> headers = new HashMap<String, List<String>>();
String authString = "admin:admin";