Comment 9 for bug 1254772

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

Reviewed: https://review.openstack.org/69455
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=807d0561765fde17682b0d7dffe7bf82315b7f43
Submitter: Jenkins
Branch: master

commit 807d0561765fde17682b0d7dffe7bf82315b7f43
Author: Matt Riedemann <email address hidden>
Date: Mon Jan 27 12:03:10 2014 -0800

    Remove unnecessary volume creation in test_server_rescue

    The setup in test_server_rescue is creating two volumes where really
    only one shared volume is necessary, so remove the second volume. This
    patch also uses the common base class code to wait for the volume
    deletion on tear down and makes the volume name random within the
    context of the class name for easier debugging.

    This patch moves the volume create/delete into the specific test cases
    that need them, uses the common base class code to delete the volume and
    wait for it to be gone, and also moves the _delete_volume method from
    the v2 compute base test class into it's parent so the v3 compute base
    test case can also use it with it's own volumes client.

    Partial-Bug: #1254772

    Change-Id: Id98f65cc2843a97221222e86c60b3859e15af869