Re: [openstack-dev] [Neutron][oslo.db] Inspecting sqlite db during unit tests

2016-07-25 Thread Mike Bayer
On 07/25/2016 12:55 PM, Carl Baldwin wrote: On Fri, Jul 22, 2016 at 8:47 AM, Mike Bayer mailto:mba...@redhat.com>> wrote: On 07/22/2016 04:02 AM, Kevin Benton wrote: Now that we have switched to oslo.db for test provisioning the responsibility of choosing a location land

Re: [openstack-dev] [Neutron][oslo.db] Inspecting sqlite db during unit tests

2016-07-25 Thread Carl Baldwin
On Fri, Jul 22, 2016 at 8:47 AM, Mike Bayer wrote: > > > On 07/22/2016 04:02 AM, Kevin Benton wrote: > >> Now that we have switched to oslo.db for test provisioning the >> responsibility of choosing a location lands >> here: >> https://github.com/openstack/oslo.db/blob/a79479088029e4fa51def91cb36

Re: [openstack-dev] [Neutron][oslo.db] Inspecting sqlite db during unit tests

2016-07-25 Thread Carl Baldwin
On Fri, Jul 22, 2016 at 8:45 AM, Mike Bayer wrote: > > On 07/22/2016 04:02 AM, Kevin Benton wrote: > >> Now that we have switched to oslo.db for test provisioning the >> responsibility of choosing a location lands >> here: >> https://github.com/openstack/oslo.db/blob/a79479088029e4fa51def91cb36bc

Re: [openstack-dev] [Neutron][oslo.db] Inspecting sqlite db during unit tests

2016-07-22 Thread Mike Bayer
On 07/22/2016 04:02 AM, Kevin Benton wrote: Now that we have switched to oslo.db for test provisioning the responsibility of choosing a location lands here: https://github.com/openstack/oslo.db/blob/a79479088029e4fa51def91cb36bc652356462b6/oslo_db/sqlalchemy/provision.py#L505 The problem is t

Re: [openstack-dev] [Neutron][oslo.db] Inspecting sqlite db during unit tests

2016-07-22 Thread Mike Bayer
On 07/22/2016 04:02 AM, Kevin Benton wrote: Now that we have switched to oslo.db for test provisioning the responsibility of choosing a location lands here: https://github.com/openstack/oslo.db/blob/a79479088029e4fa51def91cb36bc652356462b6/oslo_db/sqlalchemy/provision.py#L505 The problem is t

Re: [openstack-dev] [Neutron][oslo.db] Inspecting sqlite db during unit tests

2016-07-22 Thread Kevin Benton
Now that we have switched to oslo.db for test provisioning the responsibility of choosing a location lands here: https://github.com/openstack/oslo.db/blob/a79479088029e4fa51def91cb36bc652356462b6/oslo_db/sqlalchemy/provision.py#L505 The problem is that when you specify OS_TEST_DBAPI_ADMIN_CONNECTI

[openstack-dev] [Neutron][oslo.db] Inspecting sqlite db during unit tests

2016-07-21 Thread Carl Baldwin
Hi, In Neutron, we run unit tests with an in-memory sqlite instance. It is impossible, as far as I know, to inspect this database using the sqlite3 command line while the unit tests are running. So, we have to resort to python / sqlalchemy to do it. This is inconvenient. Months ago, I was able to