From: Eric Biagiotti Date: Wed, 17 Jul 2019 20:29:13 +0000 (-0400) Subject: 14965: Fixes resource warning when resetting run_test_server X-Git-Tag: 2.0.0~248^2~3 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/a1a1a8756149d5d05526503fd1e85115ea083fac 14965: Fixes resource warning when resetting run_test_server Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti --- diff --git a/sdk/python/tests/run_test_server.py b/sdk/python/tests/run_test_server.py index 3063ea6473..0b86aea13e 100644 --- a/sdk/python/tests/run_test_server.py +++ b/sdk/python/tests/run_test_server.py @@ -371,7 +371,8 @@ def reset(): httpclient.request( 'https://{}/database/reset'.format(existing_api_host), 'POST', - headers={'Authorization': 'OAuth2 {}'.format(token)}) + headers={'Authorization': 'OAuth2 {}'.format(token), 'Connection':'close'}) + os.environ['ARVADOS_API_HOST_INSECURE'] = 'true' os.environ['ARVADOS_API_TOKEN'] = token if _wait_until_port_listens(_getport('controller-ssl'), timeout=0.5, warn=False):