chg: [test api] increase import timeout

This commit is contained in:
Terrtia 2020-01-21 14:44:51 +01:00
parent 997e79a476
commit f82c934406
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
2 changed files with 1 additions and 2 deletions

View file

@ -65,7 +65,7 @@ class TestApiV1(unittest.TestCase):
def test_0002_api_get_import_item(self): def test_0002_api_get_import_item(self):
input_json = {"uuid": self.__class__.import_uuid} input_json = {"uuid": self.__class__.import_uuid}
item_not_imported = True item_not_imported = True
import_timout = 30 import_timout = 60
start = time.time() start = time.time()
while item_not_imported: while item_not_imported:

View file

@ -45,7 +45,6 @@ import Flask_config
app = Flask_config.app app = Flask_config.app
baseUrl = Flask_config.baseUrl baseUrl = Flask_config.baseUrl
r_serv_tags = Flask_config.r_serv_tags
r_serv_metadata = Flask_config.r_serv_metadata r_serv_metadata = Flask_config.r_serv_metadata
r_serv_db = Flask_config.r_serv_db r_serv_db = Flask_config.r_serv_db
r_serv_log_submit = Flask_config.r_serv_log_submit r_serv_log_submit = Flask_config.r_serv_log_submit