← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1585116] Re: [LBaaS] test_models_sync is skipped in UT due to the backend unavailability

 

Reviewed:  https://review.openstack.org/320999
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=2317364c31c971c74b97fe17374624652816a123
Submitter: Jenkins
Branch:    master

commit 2317364c31c971c74b97fe17374624652816a123
Author: Elena Ezhova <eezhova@xxxxxxxxxxxx>
Date:   Wed May 25 16:42:09 2016 +0300

    Set up hooks for the functional job and add test_migrations test
    
    Add gate hooks for the dsvm-functional job including set-up of
    configure_for_lbaas_func_testing.sh script and corresponding changes to
    tox.ini.
    
    PyMySQL dependency was moved from test_requirements.txt to
    functional/requirements.txt.
    
    test_migrations.py was moved from unit tests to functional in
    order to prevent it from being skipped in case of db backend
    unavailability.
    
    Fixed failing TestModelsMigrations test by importing modules with
    missing models in db/models/head.py
    
    Closes-Bug: #1585116
    Closes-Bug: #1596984
    Change-Id: Ic39805ea0ed330ef7da82043f77077e8a5617ca0


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1585116

Title:
  [LBaaS] test_models_sync is skipped in UT due to the backend
  unavailability

Status in neutron:
  Fix Released

Bug description:
  According to [1] access to MySQL/PostgreSQL is no longer in unittests
  by default. That's why tests for models and migrations sync are
  currently getting skipped in neutron-lbaas. Model migration tests
  should run as functional tests like they do in neutron and fail if db
  backend is unavailable, unless OS_FAIL_ON_MISSING_DEPS is disabled.

  [1]http://lists.openstack.org/pipermail/openstack-
  dev/2016-March/090052.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1585116/+subscriptions


References