manila/manila_tempest_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
..
common [Tempest] Add functional tests for share groups feature 2017-01-23 19:30:33 +00:00
services Merge "[Tempest] Add functional tests for share groups feature" 2017-01-25 07:49:25 +00:00
tests Fix wrong access-rule negative test 2017-02-03 17:32:16 +00:00
__init__.py Use Tempest plugin interface 2015-09-05 00:36:33 +00:00
config.py Merge "[Tempest] Add functional tests for share groups feature" 2017-01-25 07:49:25 +00:00
plugin.py Implement share revert to snapshot 2017-01-17 15:06:01 -05:00
README.rst Use Tempest plugin interface 2015-09-05 00:36:33 +00:00
share_exceptions.py [Tempest] Add functional tests for share groups feature 2017-01-23 19:30:33 +00:00
utils.py Improve Share Migration tempest tests 2016-09-13 13:17:07 -03:00

Tempest Integration

This directory contains Tempest tests to cover Manila project.