From 396e970c298b1b6e6ac06739389709014809b833 Mon Sep 17 00:00:00 2001 From: Sebastian Lobinger <sebastian.lobinger@fu-berlin.de> Date: Mon, 29 May 2017 14:06:56 +0200 Subject: [PATCH] update test_sams_proxy.py massive performance improvements (sleep 0.01) --- test/test_sams_proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_sams_proxy.py b/test/test_sams_proxy.py index be4b29d..1a4c8fe 100644 --- a/test/test_sams_proxy.py +++ b/test/test_sams_proxy.py @@ -17,12 +17,12 @@ class TestSAMSHub(unittest.TestCase): #apiApp.config['TESTING'] = True thApi = FlaskInThread(apiApp, host="localhost", port=4711) thApi.start() - time.sleep(1) + time.sleep(0.01) def tearDown(self): response = requests.get('http://localhost:4711/shutdown') print(response.content.decode('utf-8')) - time.sleep(1) + time.sleep(0.01) def test_proxy_spec_mandatory (self): """ SAMSProxy needs a proxy_spec dict, raies error if not supplied""" -- GitLab