Tweak query count values for plugin install (#10134)

- A bit more conservative for unit tests
This commit is contained in:
Oliver 2025-08-06 11:08:33 +10:00 committed by GitHub
parent 131ee2172c
commit 236384fee2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -85,6 +85,7 @@ class PluginDetailAPITest(PluginMixin, InvenTreeAPITestCase):
{'confirm': True, 'packagename': self.PKG_NAME},
expected_code=201,
max_query_time=30,
max_query_count=400,
).data
self.assertEqual(data['success'], 'Installed plugin successfully')
@ -639,7 +640,7 @@ class PluginFullAPITest(PluginMixin, InvenTreeAPITestCase):
self.assertEqual(data['active'], False)
response = self.patch(
reverse('api-plugin-uninstall', kwargs={'plugin': slug}),
max_query_count=305,
max_query_count=350,
)
self.assertEqual(response.status_code, 200)