summaryrefslogtreecommitdiffstats
path: root/ansible_collections/azure/azcollection/tests/utils
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/azure/azcollection/tests/utils')
-rwxr-xr-xansible_collections/azure/azcollection/tests/utils/ado/ado.sh2
-rwxr-xr-xansible_collections/azure/azcollection/tests/utils/shippable/check_matrix.py4
-rwxr-xr-xansible_collections/azure/azcollection/tests/utils/shippable/timing.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/ansible_collections/azure/azcollection/tests/utils/ado/ado.sh b/ansible_collections/azure/azcollection/tests/utils/ado/ado.sh
index bd8a195b3..4bae8b5d4 100755
--- a/ansible_collections/azure/azcollection/tests/utils/ado/ado.sh
+++ b/ansible_collections/azure/azcollection/tests/utils/ado/ado.sh
@@ -69,7 +69,7 @@ pip install -I -r "${TEST_DIR}/sanity-requirements-azure.txt"
pip install ansible-lint
-timeout=90
+timeout=180
if [ "$4" = "all" ]
then
diff --git a/ansible_collections/azure/azcollection/tests/utils/shippable/check_matrix.py b/ansible_collections/azure/azcollection/tests/utils/shippable/check_matrix.py
index 96a377589..614396581 100755
--- a/ansible_collections/azure/azcollection/tests/utils/shippable/check_matrix.py
+++ b/ansible_collections/azure/azcollection/tests/utils/shippable/check_matrix.py
@@ -9,7 +9,7 @@ import os
import re
import sys
import time
-from ansible.module_utils.urls import open_url as urlopen
+from ansible.module_utils.urls import open_url
try:
from typing import NoReturn
@@ -41,7 +41,7 @@ def main(): # type: () -> None
for attempts_remaining in range(4, -1, -1):
try:
- jobs = json.loads(urlopen('https://api.shippable.com/jobs?runIds=%s' % run_id).read())
+ jobs = json.loads(open_url('https://api.shippable.com/jobs?runIds=%s' % run_id).read())
if not isinstance(jobs, list):
raise Exception('Shippable run %s data is not a list.' % run_id)
diff --git a/ansible_collections/azure/azcollection/tests/utils/shippable/timing.py b/ansible_collections/azure/azcollection/tests/utils/shippable/timing.py
index d9456855d..55728eab6 100755
--- a/ansible_collections/azure/azcollection/tests/utils/shippable/timing.py
+++ b/ansible_collections/azure/azcollection/tests/utils/shippable/timing.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3.6
+#!/usr/bin/env python
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type