File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class Config(object):
27
27
# Avoid infinite Celery retries when the broker is offline.
28
28
broker_connection_max_retries : int = 10
29
29
iib_aws_s3_bucket_name : Optional [str ] = None
30
- iib_api_timeout : int = 60
30
+ iib_api_timeout : int = 120
31
31
iib_docker_config_template : str = os .path .join (
32
32
os .path .expanduser ('~' ), '.docker' , 'config.json.template'
33
33
)
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def test_get_request(mock_session):
15
15
16
16
api_utils .get_request (3 )
17
17
18
- mock_session .get .assert_called_once_with ('http://iib-api:8080/api/v1/builds/3' , timeout = 60 )
18
+ mock_session .get .assert_called_once_with ('http://iib-api:8080/api/v1/builds/3' , timeout = 120 )
19
19
20
20
21
21
@mock .patch ('iib.workers.api_utils.requests_session' )
@@ -52,7 +52,7 @@ def test_set_omps_operator_version(mock_session):
52
52
mock_session .patch .assert_called_once_with (
53
53
'http://iib-api:8080/api/v1/builds/3' ,
54
54
json = {'omps_operator_version' : '{"operator": "1.0.0"}' },
55
- timeout = 60 ,
55
+ timeout = 120 ,
56
56
)
57
57
58
58
@@ -66,7 +66,7 @@ def test_update_request(mock_session):
66
66
mock_session .patch .assert_called_once_with (
67
67
'http://iib-api:8080/api/v1/builds/3' ,
68
68
json = {'index_image' : 'index-image:latest' },
69
- timeout = 60 ,
69
+ timeout = 120 ,
70
70
)
71
71
72
72
You can’t perform that action at this time.
0 commit comments