======================================================================
ERROR: test_ofp_server (quantum.tests.unit.ryu.test_ryu_db.RyuDBTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/quantum/tests/unit/ryu/test_ryu_db.py", line 30, in setUp
options = {"sql_connection": cfg.CONF.DATABASE.sql_connection}
File "/quantum/openstack/common/cfg.py", line 1039, in __getattr__
return self._get(name)
File "/quantum/openstack/common/cfg.py", line 1361, in _get
value = self._substitute(self._do_get(name, group))
File "/quantum/openstack/common/cfg.py", line 1377, in _do_get
info = self._get_opt_info(name, group)
File "/quantum/openstack/common/cfg.py", line 1470, in _get_opt_info
raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option: DATABASE
----------------------------------------------------------------------
Ran 1 test in 0.001s
Reviewed: https:/ /review. openstack. org/14022 github. com/openstack/ quantum/ commit/ a11f6cec92c9a93 d37cdd94b736368 1addabfe9e
Committed: http://
Submitter: Jenkins
Branch: master
commit a11f6cec92c9a93 d37cdd94b736368 1addabfe9e
Author: Isaku Yamahata <email address hidden>
Date: Tue Sep 18 23:55:14 2012 +0900
tests/ unit/ryu/ test_ryu_ db: db failure
Fixes bug 1061408
The unit test of test_ryu_db fails when it is specified to run as follows.
$ ./run_tests.sh quantum. tests.unit. ryu.test_ ryu_db
test_ofp_ server (quantum. tests.unit. ryu.test_ ryu_db. RyuDBTest) ERROR
RyuDBTest
=== ======= ======= ======= ======= ======= ======= ======= ======= ======= ==== tests.unit. ryu.test_ ryu_db. RyuDBTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- ---- tests/unit/ ryu/test_ ryu_db. py", line 30, in setUp DATABASE. sql_connection} openstack/ common/ cfg.py" , line 1039, in __getattr__ openstack/ common/ cfg.py" , line 1361, in _get e(self. _do_get( name, group)) openstack/ common/ cfg.py" , line 1377, in _do_get opt_info( name, group) openstack/ common/ cfg.py" , line 1470, in _get_opt_info opt_name, group)
ERROR: test_ofp_server (quantum.
---
Traceback (most recent call last):
File "/quantum/
options = {"sql_connection": cfg.CONF.
File "/quantum/
return self._get(name)
File "/quantum/
value = self._substitut
File "/quantum/
info = self._get_
File "/quantum/
raise NoSuchOptError(
NoSuchOptError: no such option: DATABASE
--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----
Ran 1 test in 0.001s
Change-Id: Ie639914c64e6fb a10112a58efa7f3 63615d0c9fd