Re: [openstack-dev] [tricircle] Using in-memory database for unit tests

2016-03-21 Thread joehuang
Hello, Shinobu, Yes, as what you described here, the "initialize" in "core.py" is used for unit/function test only. For system integration test( for example, tempest ), it would be better to use mysql like DB, this is done by the configuration in DB part. >From my point of view, the tricircle

Re: [openstack-dev] [tricircle] Using in-memory database for unit tests

2016-03-21 Thread Shinobu Kinjo
On Tue, Mar 22, 2016 at 10:22 AM, joehuang wrote: > Hello, Shinobu, > > Yes, as what you described here, the "initialize" in "core.py" is used for > unit/function test only. For system integration test( for example, tempest ), > it would be better to use mysql like DB, this is done by the config

Re: [openstack-dev] [tricircle] Using in-memory database for unit tests

2016-03-21 Thread joehuang
; huangzhipeng; newypei; caizhiyuan (A) Subject: Re: [openstack-dev] [tricircle] Using in-memory database for unit tests On Tue, Mar 22, 2016 at 10:22 AM, joehuang wrote: > Hello, Shinobu, > > Yes, as what you described here, the "initialize" in "core.py" is used for > uni

Re: [openstack-dev] [tricircle] Using in-memory database for unit tests

2016-03-21 Thread Vega Cai
Let me try to explain some. On 22 March 2016 at 10:09, Shinobu Kinjo wrote: > On Tue, Mar 22, 2016 at 10:22 AM, joehuang wrote: > > Hello, Shinobu, > > > > Yes, as what you described here, the "initialize" in "core.py" is used > for unit/function test only. For system integration test( for exam

Re: [openstack-dev] [tricircle] Using in-memory database for unit tests

2016-03-21 Thread Shinobu Kinjo
Thank you for your comment (inline for my message). On Tue, Mar 22, 2016 at 11:53 AM, Vega Cai wrote: > Let me try to explain some. > > On 22 March 2016 at 10:09, Shinobu Kinjo wrote: >> >> On Tue, Mar 22, 2016 at 10:22 AM, joehuang wrote: >> > Hello, Shinobu, >> > >> > Yes, as what you describ

Re: [openstack-dev] [tricircle] Using in-memory database for unit tests

2016-03-22 Thread Vega Cai
On 22 March 2016 at 12:09, Shinobu Kinjo wrote: > Thank you for your comment (inline for my message). > > On Tue, Mar 22, 2016 at 11:53 AM, Vega Cai wrote: > > Let me try to explain some. > > > > On 22 March 2016 at 10:09, Shinobu Kinjo wrote: > >> > >> On Tue, Mar 22, 2016 at 10:22 AM, joehuan

Re: [openstack-dev] [tricircle] Using in-memory database for unit tests

2016-03-23 Thread Shinobu Kinjo
On Wed, Mar 23, 2016 at 2:33 PM, Vega Cai wrote: > > > On 22 March 2016 at 12:09, Shinobu Kinjo wrote: >> >> Thank you for your comment (inline for my message). >> >> On Tue, Mar 22, 2016 at 11:53 AM, Vega Cai wrote: >> > Let me try to explain some. >> > >> > On 22 March 2016 at 10:09, Shinobu K

Re: [openstack-dev] [tricircle] Using in-memory database for unit tests

2016-03-23 Thread Mike Bayer
On 03/23/2016 01:33 AM, Vega Cai wrote: On 22 March 2016 at 12:09, Shinobu Kinjo mailto:shinobu...@gmail.com>> wrote: Thank you for your comment (inline for my message). On Tue, Mar 22, 2016 at 11:53 AM, Vega Cai mailto:luckyveg...@gmail.com>> wrote: > Let me try to explain some