From b46e18c1182c79c22659509f15dcbdccac7feffd Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 12 Jun 2024 01:47:55 +0000 Subject: [PATCH] Increase timeout for plugin tests --- src/backend/InvenTree/plugin/test_api.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/InvenTree/plugin/test_api.py b/src/backend/InvenTree/plugin/test_api.py index ed4ae7439b00..bdef4481e367 100644 --- a/src/backend/InvenTree/plugin/test_api.py +++ b/src/backend/InvenTree/plugin/test_api.py @@ -35,7 +35,7 @@ def test_plugin_install(self): 'packagename': 'invalid_package_name-asdads-asfd-asdf-asdf-asdf', }, expected_code=400, - max_query_time=20, + max_query_time=30, ) # valid - Pypi @@ -43,7 +43,7 @@ def test_plugin_install(self): url, {'confirm': True, 'packagename': self.PKG_NAME}, expected_code=201, - max_query_time=20, + max_query_time=30, ).data self.assertEqual(data['success'], 'Installed plugin successfully') @@ -53,7 +53,7 @@ def test_plugin_install(self): url, {'confirm': True, 'url': self.PKG_URL}, expected_code=201, - max_query_time=20, + max_query_time=30, ).data self.assertEqual(data['success'], 'Installed plugin successfully') @@ -63,7 +63,7 @@ def test_plugin_install(self): url, {'confirm': True, 'url': self.PKG_URL, 'packagename': self.PKG_NAME}, expected_code=201, - max_query_time=20, + max_query_time=30, ).data self.assertEqual(data['success'], 'Installed plugin successfully')