Migration downgrade tests missing

Bug #1195470 reported by Iccha Sethi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Johannes Erdfelt

Bug Description

https://github.com/openstack/glance/blob/master/glance/tests/unit/test_migrations.py previously had some downgrade tests which are missing when the format for tests got changed. we need to add downgrade checks back in.

Changed in glance:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/42734
Committed: http://github.com/openstack/glance/commit/18374238c5265968c68f17431dab52584b5f268a
Submitter: Jenkins
Branch: master

commit 18374238c5265968c68f17431dab52584b5f268a
Author: Johannes Erdfelt <email address hidden>
Date: Mon Aug 19 17:04:22 2013 +0000

    Call _post_downgrade_### after downgrade migration is run

    Fixes bug 1195470

    Tests are currently only run after a upgrade during the database migration
    unit tests and never during a downgrade. This change calls an optional
    _post_downgrade_### method after running the downgrade migration to allow
    it to be tested as well.

    Change-Id: I592424b464b91c2be9e253402986e673ce33c8d0

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: havana-3 → 2013.2
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.