Skip to content

Commit 328c049

Browse files
committed
Timiting tunning
Apparently travis needs bigger timings than local developer machines in order to avoid build failures. Change-Id: Id607d58ccabf446ae767c5df03c9b59327db6bef
1 parent b62ee91 commit 328c049

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pytest.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ pep8ignore = E501 E265 E127 E901 E128 E402
1919
pep8maxlinelength = 1024
2020

2121
# pytest-timeout
22-
timeout = 180
22+
timeout = 240

tests/test_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import getpass
44
import pytest
55
from tenacity import retry
6-
from tenacity import wait_random_exponential
6+
from tenacity import wait_incrementing
77
from tests import get_unique_project_name
88
from tests import JiraTestManager
99

@@ -57,7 +57,7 @@ def remove_by_slug():
5757
return slug
5858

5959

60-
@retry(wait=wait_random_exponential(multiplier=1, max=180))
60+
@retry(wait=wait_incrementing(start=0, increment=1, max=180))
6161
def test_delete_project(cl_admin, cl_normal, slug):
6262

6363
with pytest.raises(JIRAError) as ex:

0 commit comments

Comments
 (0)