diff options
author | Daniel Bengtsson <dbengt@redhat.com> | 2021-03-03 12:59:53 +0100 |
---|---|---|
committer | Daniel Bengtsson <dbengt@redhat.com> | 2021-06-23 13:04:45 +0200 |
commit | a857b83c9c28d1fe461d1c06549607c48acf337b (patch) | |
tree | 356e8922f76b66d1955d72e86c9d7471ecbfac0c /oslo_db/tests/sqlalchemy/test_sqlalchemy.py | |
parent | 3400d2df482c01ba1ea0686c8922ccca73fcdd57 (diff) | |
download | oslo-db-a857b83c9c28d1fe461d1c06549607c48acf337b.tar.gz |
Remove the idle_timeout option.
The option was replaced 4 years ago[1] by connection_recycle_time. The
option is not anymore present in sqlalchemy. It's the good time to
remove it.
[1] https://opendev.org/openstack/oslo.db/commit/6634218415906192fca891362b8fa0ac50b66284
Change-Id: I0c26c3e14ad9ad9a4f30af80757e369d6042441a
Diffstat (limited to 'oslo_db/tests/sqlalchemy/test_sqlalchemy.py')
-rw-r--r-- | oslo_db/tests/sqlalchemy/test_sqlalchemy.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/oslo_db/tests/sqlalchemy/test_sqlalchemy.py b/oslo_db/tests/sqlalchemy/test_sqlalchemy.py index 7b51e36..2dd863a 100644 --- a/oslo_db/tests/sqlalchemy/test_sqlalchemy.py +++ b/oslo_db/tests/sqlalchemy/test_sqlalchemy.py @@ -404,10 +404,6 @@ class EngineFacadeTestCase(oslo_test.BaseTestCase): self.assertFalse(ses.autocommit) self.assertTrue(ses.expire_on_commit) - def test_direct_invocation_deprecated_args(self): - facade = session.EngineFacade("sqlite://", idle_timeout=59) - self.assertEqual(59, facade.get_engine().pool._recycle) - @mock.patch('oslo_db.sqlalchemy.orm.get_maker') @mock.patch('oslo_db.sqlalchemy.engines.create_engine') def test_creation_from_config(self, create_engine, get_maker): |