test_db_api.py:CapacityTestCase depends on other tests

Bug #1076535 reported by aeva black
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
aeva black

Bug Description

Calling "./run_tests.sh test_db_api.py:CapacityTestCase" by itself will fail all four tests that it runs with this error:

    NoSuchOptError: no such option: reserved_host_memory_mb

Runing test_db_api.py passes other tests, but still fails the same four. However, adding compute/test_compute.py will cause those four tests to pass. It seems that test_db_api.py is just missing an import.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/15661

Changed in nova:
assignee: nobody → Devananda (devananda)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/15661
Committed: http://github.com/openstack/nova/commit/9807d380d3c50cb5a8bf79a4b5c2732ed29496a1
Submitter: Jenkins
Branch: master

commit 9807d380d3c50cb5a8bf79a4b5c2732ed29496a1
Author: Devananda van der Veen <email address hidden>
Date: Thu Nov 8 11:36:12 2012 -0800

    add missing opts to test_db_api.py

    import two missing options so that test_db_api.py can be called in isolation.
    fix bug 1076535

    Change-Id: Ic2eca62e08a6f74dda332ee92cdda50ca1d8e005

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.