mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +00:00
Made postgresql.tests.Tests.test_connect_pool less flaky by increasing timeout value.
This commit is contained in:
parent
42435fc55c
commit
f973a70bfc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue