Răsfoiți Sursa

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

Sarah Boyce 11 luni în urmă
părinte
comite
f973a70bfc
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      tests/backends/postgresql/tests.py

+ 1 - 1
tests/backends/postgresql/tests.py

@@ -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)