Fix manila test name
When Tempest loads tests class inheritance plays a big role,
the test name (or path if you will) is affected by the inherited
classes.
ShareNetworksTest class inherits from ShareNetworkListMixin,
see [1], therefore the test in questions appears to be under
ShareNetworksTest and not ShareNetworkListMixin which is its
litteral position.
This issue wasn't uncovered by the consistency checks
because tools/checktest.py parses test files manually and
therefore the check passed as it found the litteral position
of the test not the based on the inheritance.
[1] 8ccbbebe6d/manila_tempest_tests/tests/api/test_share_networks.py
Change-Id: I685d94d045f4c20cfb9430d200b52e1c5cf4d268
This commit is contained in:
parent
a93487957e
commit
5f7b383c90
@ -347,7 +347,7 @@
|
||||
"project": "manila",
|
||||
"required_since": "2020.11",
|
||||
"tests": {
|
||||
"manila_tempest_tests.tests.api.test_share_networks.ShareNetworkListMixin.test_list_share_networks": {
|
||||
"manila_tempest_tests.tests.api.test_share_networks.ShareNetworksTest.test_list_share_networks": {
|
||||
"idempotent_id": "id-41c635b1-d9ef-4c05-9100-5e4b0034b523"
|
||||
}
|
||||
}
|
||||
|
@ -344,7 +344,7 @@
|
||||
"project": "manila",
|
||||
"required_since": "2020.11",
|
||||
"tests": {
|
||||
"manila_tempest_tests.tests.api.test_share_networks.ShareNetworkListMixin.test_list_share_networks": {
|
||||
"manila_tempest_tests.tests.api.test_share_networks.ShareNetworksTest.test_list_share_networks": {
|
||||
"idempotent_id": "id-41c635b1-d9ef-4c05-9100-5e4b0034b523"
|
||||
}
|
||||
}
|
||||
|
@ -84,8 +84,10 @@ python3 ./tools/checktests.py --guideline guidelines/next.json
|
||||
exit_1=$?
|
||||
python3 ./tools/checktests.py --guideline add-ons/guidelines/dns.next.json --testlib designate_tempest_plugin
|
||||
exit_2=$?
|
||||
python3 ./tools/checktests.py --guideline add-ons/guidelines/shared_file_system.next.json --testlib manila_tempest_tests
|
||||
exit_3=$?
|
||||
# TODO(kopecmartin) In order to unblock gates, skip check of manila tempest plugin until the following bug is resolved:
|
||||
# https://storyboard.openstack.org/#!/story/2009146
|
||||
# python3 ./tools/checktests.py --guideline add-ons/guidelines/shared_file_system.next.json --testlib manila_tempest_tests
|
||||
# exit_3=$?
|
||||
# TODO(kopecmartin) consistency check of heat_tempest_plugin is omitted intentionally until we improve the
|
||||
# checktests.py so that it detects ids of the heat_tempest_plugin.api tests which don't use decorator.idempotent_id
|
||||
# call to track the id
|
||||
@ -96,8 +98,8 @@ python3 ./tools/checktests.py --guideline current_guideline
|
||||
exit_5=$?
|
||||
python3 ./tools/checktests.py --guideline add-ons/dns_current_guideline --testlib designate_tempest_plugin
|
||||
exit_6=$?
|
||||
python3 ./tools/checktests.py --guideline add-ons/shared_file_system_current_guideline --testlib manila_tempest_tests
|
||||
exit_7=$?
|
||||
# python3 ./tools/checktests.py --guideline add-ons/shared_file_system_current_guideline --testlib manila_tempest_tests
|
||||
# exit_7=$?
|
||||
# python3 ./tools/checktests.py --guideline add-ons/orchestration_current_guideline --testlib heat_tempest_plugin
|
||||
# exit_8=$?
|
||||
|
||||
@ -111,4 +113,4 @@ fi
|
||||
|
||||
|
||||
#! (( $exit_1 || $exit_2 || $exit_3 || $exit_4 || $exit_5 || $exit_6 || $exit_7 || $exit_8 ))
|
||||
! (( $exit_1 || $exit_2 || $exit_3 || $exit_5 || $exit_6 || $exit_7 ))
|
||||
! (( $exit_1 || $exit_2 || $exit_5 || $exit_6 ))
|
||||
|
Loading…
x
Reference in New Issue
Block a user