mirror of
https://github.com/django/django.git
synced 2025-03-13 02:40:47 +00:00
Made postgresql.tests.Tests.test_connect_pool less flaky by increasing timeout value.
This commit is contained in:
parent
42435fc55c
commit
f973a70bfc
@ -241,7 +241,7 @@ class Tests(TestCase):
|
|||||||
new_connection.settings_dict["OPTIONS"]["pool"] = {
|
new_connection.settings_dict["OPTIONS"]["pool"] = {
|
||||||
"min_size": 0,
|
"min_size": 0,
|
||||||
"max_size": 2,
|
"max_size": 2,
|
||||||
"timeout": 0.1,
|
"timeout": 5,
|
||||||
}
|
}
|
||||||
self.assertIsNotNone(new_connection.pool)
|
self.assertIsNotNone(new_connection.pool)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user