From 47c8b781b163ccf652a043e060582ec1904787d4 Mon Sep 17 00:00:00 2001 From: Giovanni Meo Date: Thu, 24 Oct 2013 11:23:09 +0200 Subject: [PATCH] Northbound IT works unreliably - 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 --- .../controller/northbound/integrationtest/NorthboundIT.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/opendaylight/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java b/opendaylight/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java index 3f3aec08ed..f6714480c9 100644 --- a/opendaylight/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java +++ b/opendaylight/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java @@ -153,7 +153,11 @@ public class NorthboundIT { 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> headers = new HashMap>(); String authString = "admin:admin"; -- 2.36.6