Comment 1 for bug 1639848

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

Reviewed: https://review.openstack.org/394388
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=1eadb5a51cd67610fab9bc5a82b2e6cbd1cbd12c
Submitter: Jenkins
Branch: master

commit 1eadb5a51cd67610fab9bc5a82b2e6cbd1cbd12c
Author: tpsilva <email address hidden>
Date: Mon Nov 7 10:03:39 2016 -0200

    Fix share manage tempest test cleanup

    test_share_manage.ManageNFSShareTest might leave undeleted shares on
    backend if some tests are not run. This happens because the shares are
    created and unmanaged on resource_setup and are expected to be managed
    and deleted on the tests. If the tests don't run, the cleanup will not
    delete the shares because they are already unmanaged, thus leaving them
    created on the backend.

    This patch fixes this issue by moving the share creation and unmanage
    operations from resource_setup to the tests themselves.

    Closes-bug: #1639848

    Change-Id: I2d1790f0a323fdc7b11805842985ca5907dd23c3