← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1226924] Re: Migration 201 isn't tested correctly

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1226924

Title:
  Migration 201 isn't tested correctly

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In the migration tests instead of checking the new indexes are created
  against a table the indexes dictionary is overwritten causing the
  assertIn to only check against itself. EG:

           for table_name, indexes in data.iteritems():
               table = sqlalchemy.Table(table_name, meta, autoload=True)
              indexes = [(i.name, tuple(i.columns.keys()))
                         for i in table.indexes]

               for index in indexes:
                  self.assertIn(index, indexes)

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