manila/manila_tempest_tests/tests
Goutham Pacha Ravi ba3088c4ee Fix wrong access-rule negative test
The test test_add_access_rule_on_share_with_no_host in
manila_tempest_tests.tests.api.test_rules_negative\
       .ShareIpRulesForNFSNegativeTest
expects a share to fail to schedule, and then validates that an
access rule cannot be added. However, the share may
still be 'creating' when the access change is being
attempted.

While the test passes (access rules cannot be added when
the share status isn't 'available'), the intent of that particular
test is to ensure access rules cannot be added when the share has no
host.

This fixes the cleanup error that happens in consequence,
because we don't allow deleting shares that are in
'creating' state.

In the spirit of true black box testing, we should ensure that the
share fails to schedule before attempting this test.

Change-Id: Id150e0ef546ddfd40d97d9b1a54fd8ba23028720
Closes-Bug: #1661421
2017-02-03 17:32:16 +00:00
..
api Fix wrong access-rule negative test 2017-02-03 17:32:16 +00:00
scenario Merge "Improve share migration scenario test validation" 2017-01-26 00:29:06 +00:00
__init__.py Use Tempest plugin interface 2015-09-05 00:36:33 +00:00