aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core/campaign.py
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/core/campaign.py')
-rw-r--r--xtesting/core/campaign.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtesting/core/campaign.py b/xtesting/core/campaign.py
index 901df587..98b2f1a8 100644
--- a/xtesting/core/campaign.py
+++ b/xtesting/core/campaign.py
@@ -70,7 +70,8 @@ class Campaign():
url = env.get('TEST_DB_URL')
req = requests.get(
f"{url}?build_tag={env.get('BUILD_TAG')}",
- headers=testcase.TestCase.headers)
+ headers=testcase.TestCase.headers,
+ timeout=10)
req.raise_for_status()
output = req.json()
Campaign.__logger.debug("data from DB: \n%s", output)