1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Made postgresql.tests.Tests.test_connect_pool less flaky by increasing timeout value.

This commit is contained in:
Sarah Boyce
2024-04-10 19:09:52 +02:00
committed by GitHub
parent 42435fc55c
commit f973a70bfc

View File

@@ -241,7 +241,7 @@ class Tests(TestCase):
new_connection.settings_dict["OPTIONS"]["pool"] = {
"min_size": 0,
"max_size": 2,
"timeout": 0.1,
"timeout": 5,
}
self.assertIsNotNone(new_connection.pool)