From c60922fb6313dbd8a87d4eafa0e55607e1bda17f Mon Sep 17 00:00:00 2001 From: Rodrigo Barbieri Date: Fri, 8 Feb 2019 14:12:54 -0200 Subject: [PATCH] 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 --- manila_tempest_tests/tests/api/admin/test_share_manage.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manila_tempest_tests/tests/api/admin/test_share_manage.py b/manila_tempest_tests/tests/api/admin/test_share_manage.py index 559f51bc..7efdb498 100644 --- a/manila_tempest_tests/tests/api/admin/test_share_manage.py +++ b/manila_tempest_tests/tests/api/admin/test_share_manage.py @@ -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