diff options
author | Filip Krzywka <filip.krzywka@nokia.com> | 2018-09-20 12:33:27 +0200 |
---|---|---|
committer | Filip Krzywka <filip.krzywka@nokia.com> | 2018-09-21 08:04:58 +0000 |
commit | 2002517aeadd62d3ce73b7b20fc6e0f1397bf5b1 (patch) | |
tree | 00c93281751bbd33feb761e3e22bde6ad150e19b /test/csit/tests | |
parent | 7df359505604e20c17a81211607e254f3d0a6643 (diff) |
Add check for memory leak detection
Change-Id: Ifb70e1409dbd5df4207f83cbf2268dd5355e1bd5
Issue-ID: DCAEGEN2-815
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'test/csit/tests')
-rw-r--r-- | test/csit/tests/dcaegen2-collectors-hv-ves/testcases/libraries/DcaeAppSimulatorLibrary.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/libraries/DcaeAppSimulatorLibrary.py b/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/libraries/DcaeAppSimulatorLibrary.py index ab3b1e21d..9edad2cc2 100644 --- a/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/libraries/DcaeAppSimulatorLibrary.py +++ b/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/libraries/DcaeAppSimulatorLibrary.py @@ -8,12 +8,12 @@ class DcaeAppSimulatorLibrary: def configure_dcae_app_simulator_to_consume_messages_from_topics(self, app_url, topics): logger.info("PUT at: " + app_url) - resp = HttpRequests.session_without_env().put(app_url, data={'topics': topics}, timeout=5) + resp = HttpRequests.session_without_env().put(app_url, data={'topics': topics}, timeout=10) HttpRequests.checkStatusCode(resp.status_code, DCAE_APP_NAME) def assert_DCAE_app_consumed(self, app_url, expected_messages_amount): logger.info("GET at: " + app_url) - resp = HttpRequests.session_without_env().get(app_url, timeout=5) + resp = HttpRequests.session_without_env().get(app_url, timeout=10) HttpRequests.checkStatusCode(resp.status_code, DCAE_APP_NAME) assert resp.content == expected_messages_amount, \ @@ -21,7 +21,7 @@ class DcaeAppSimulatorLibrary: def assert_DCAE_app_consumed_less_equal_than(self, app_url, messages_threshold): logger.info("GET at: " + app_url) - resp = HttpRequests.session_without_env().get(app_url, timeout=5) + resp = HttpRequests.session_without_env().get(app_url, timeout=10) HttpRequests.checkStatusCode(resp.status_code, DCAE_APP_NAME) logger.debug("Messages consumed by simulator: " + resp.content + @@ -33,7 +33,7 @@ class DcaeAppSimulatorLibrary: def reset_DCAE_app_simulator(self, app_url): logger.info("DELETE at: " + app_url) - resp = HttpRequests.session_without_env().delete(app_url, timeout=5) + resp = HttpRequests.session_without_env().delete(app_url, timeout=10) HttpRequests.checkStatusCode(resp.status_code, DCAE_APP_NAME) def assert_DCAE_app_consumed_proper_messages(self, app_url, message_filepath): @@ -42,5 +42,5 @@ class DcaeAppSimulatorLibrary: data = file.read() file.close() - resp = HttpRequests.session_without_env().post(app_url, data=data, timeout=5) + resp = HttpRequests.session_without_env().post(app_url, data=data, timeout=10) HttpRequests.checkStatusCode(resp.status_code, DCAE_APP_NAME) |