Temporarily disable test_manage_invalid

This test stops making sense as-is when running against
https://review.openstack.org/635831. The test tries
to create a share with a share type configured with a
driver mode that was unsupported by this API. Since it
becomes supported in https://review.openstack.org/635831,
the test fails because an error is no longer returned by
the API.

The Manage/Unmanage share test cases are being reworked
as part of the implementation of the
Manage-Unmanage with Share Servers feature and are to be
found in a separate patch dependant on this one.

Change-Id: I17c74b2aa242918188eeff368232c762a4b31093
Partially-implements: bp manage-unmanage-with-share-servers
Needed-By: I108961e7436ba13550ef2b8f02079c6e599a6166
This commit is contained in:
Rodrigo Barbieri 2019-02-08 14:12:54 -02:00
parent 29eaeefbef
commit c60922fb63
1 changed files with 4 additions and 0 deletions

View File

@ -186,6 +186,10 @@ class ManageNFSShareTest(base.BaseSharesAdminTest):
def test_manage(self):
self._test_manage(check_manage=True)
@testtools.skipUnless(
CONF.share.multitenancy_enabled,
"Will be re-enabled along with the updated tests of Manage-Unmanage "
"with Share Server patch")
@tc.attr(base.TAG_NEGATIVE, base.TAG_API_WITH_BACKEND)
def test_manage_invalid(self):
# Try to manage share with invalid parameters, it should not succeed