X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ecomp-portal-BE-common%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fportalapp%2Fportal%2Fcontroller%2FSharedContextRestClient.java;h=13dfc1835a59afa181cb8e6297e2b33b05f409c4;hb=2845910b34682056c1949f82e39d9205a26554e9;hp=427b4124c06815da09f2bfcb810a99f4a9b8512a;hpb=485296388748c1efb5737cf7ae9d4a8254681552;p=portal.git diff --git a/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/SharedContextRestClient.java b/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/SharedContextRestClient.java index 427b4124..13dfc183 100644 --- a/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/SharedContextRestClient.java +++ b/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/SharedContextRestClient.java @@ -178,6 +178,7 @@ public class SharedContextRestClient { } finally { if (response != null) response.close(); + httpClient.close(); } return json; } @@ -292,6 +293,7 @@ public class SharedContextRestClient { } finally { if (response != null) response.close(); + httpClient.close(); } return responseJson; }