Ability to run functional tests for magnum

Bug #1439621 reported by Davanum Srinivas (DIMS)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Unassigned

Bug Description

Currently we just have unit tests. So we need to setup a devstack job in our CI to be able to stand up an actual magnum instance and run some of the command line utilities and a set of functional tests to ensure that we don't break any functionality as well.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to magnum (master)

Reviewed: https://review.openstack.org/169359
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=aa039bb01139ee7ec1b0609c1ad2ef7fa037a749
Submitter: Jenkins
Branch: master

commit aa039bb01139ee7ec1b0609c1ad2ef7fa037a749
Author: Davanum Srinivas <email address hidden>
Date: Tue Mar 31 10:41:36 2015 -0400

    Make room for functional tests

    We need to consolidate the unit tests into a separate
    directory so we can run just the unit tests in our py27
    tox target. And we can in subsequent reviews add a parallel
    directory with functional tests.

    Related-Bug: #1439621
    Change-Id: I8bf5af953fb31080096c371966f7dfda9edb1bf4

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

Reviewed: https://review.openstack.org/168194
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=4c2b97385955b0af47497f92fb528638072131ba
Submitter: Jenkins
Branch: master

commit 4c2b97385955b0af47497f92fb528638072131ba
Author: Davanum Srinivas <email address hidden>
Date: Thu Mar 26 20:51:30 2015 -0400

    Convert to new DevStack plugin model for functional testing

    Switch over to the new plugin style as documented here:
    http://docs.openstack.org/developer/devstack/plugins.html

    Makes it very easy to setup a CI job. Added a new
    directory for functional job and the tests are run
    from the post_test_hook.sh. There's even a "magnum bay-list"
    in the shell script to show that we are actually making
    calls to the magnum API endpoint and things are working
    fine. Note that this is just the minimal plumbing needed
    and there's a lot more effort needed to come up with
    proper test cases for testing magnum functionality.

    Closes-Bug: #1439621
    Change-Id: I88d45015338ef55713b32de196f9071c8fc2031b

Changed in magnum:
status: New → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
status: Fix Committed → Fix Released
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.