aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/HTTPRequest.py
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2017-05-02 09:54:02 +0200
committerSamuel Eliáš <samelias@cisco.com>2017-05-03 15:29:22 +0000
commit919b7cb359cc8fd06ca8cc7a651391ac6aa03f20 (patch)
tree3a558568fd56657faa62296b9a9d40e0d48b0364 /resources/libraries/python/HTTPRequest.py
parent631b366985355cbe41a243a87b06eda75cdd2c42 (diff)
HC Test: Update honeycomb suite setup
- remove workaround for jVPP version mismatch - increase Java API command timeout Change-Id: Ic6a61ff029cc7cdfec1f75890e18599e3b05f019 Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/python/HTTPRequest.py')
-rw-r--r--resources/libraries/python/HTTPRequest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/libraries/python/HTTPRequest.py b/resources/libraries/python/HTTPRequest.py
index d553c6641f..9c64dbbf9b 100644
--- a/resources/libraries/python/HTTPRequest.py
+++ b/resources/libraries/python/HTTPRequest.py
@@ -228,7 +228,7 @@ class HTTPRequest(object):
@staticmethod
@keyword(name="HTTP Get")
- def get(node, path, headers=None, timeout=10, enable_logging=True):
+ def get(node, path, headers=None, timeout=15, enable_logging=True):
"""Sends a GET request and returns the response and status code.
:param node: Honeycomb node.
@@ -254,7 +254,7 @@ class HTTPRequest(object):
@staticmethod
@keyword(name="HTTP Put")
- def put(node, path, headers=None, payload=None, json=None, timeout=10):
+ def put(node, path, headers=None, payload=None, json=None, timeout=15):
"""Sends a PUT request and returns the response and status code.
:param node: Honeycomb node.
@@ -280,7 +280,7 @@ class HTTPRequest(object):
@staticmethod
@keyword(name="HTTP Post")
- def post(node, path, headers=None, payload=None, json=None, timeout=10,
+ def post(node, path, headers=None, payload=None, json=None, timeout=15,
enable_logging=True):
"""Sends a POST request and returns the response and status code.
@@ -312,7 +312,7 @@ class HTTPRequest(object):
@staticmethod
@keyword(name="HTTP Delete")
- def delete(node, path, timeout=10):
+ def delete(node, path, timeout=15):
"""Sends a DELETE request and returns the response and status code.
:param node: Honeycomb node.