← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1539735] [NEW] DB migrations are not tested with data

 

Public bug reported:

Currently the DB migration tests check only the schema. In several cases
migration changes should be checked with data records to fully verify
that they work.

We need a framework for writing migration tests with data. We should
leverage from or contribute to oslo.db appropriately for this.

Using the framework, develop test cases.

** Affects: neutron
     Importance: Medium
     Assignee: Manjeet Singh Bhatia (manjeet-s-bhatia)
         Status: New


** Tags: db functional-tests

** Changed in: neutron
   Importance: Undecided => Medium

** Tags added: db functional-tests

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

Title:
  DB migrations are not tested with data

Status in neutron:
  New

Bug description:
  Currently the DB migration tests check only the schema. In several
  cases migration changes should be checked with data records to fully
  verify that they work.

  We need a framework for writing migration tests with data. We should
  leverage from or contribute to oslo.db appropriately for this.

  Using the framework, develop test cases.

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


Follow ups