summaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
Diffstat (limited to 'test/csit/tests')
-rw-r--r--test/csit/tests/dcaegen2-collectors-hv-ves/testcases/libraries/DcaeAppSimulatorLibrary.py10
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)