Share type extra specs in tempest tests should be enabled only if the tested microversion has support for them

Bug #1782394 reported by Victoria Martinez de la Cruz on 2018-07-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

In the add_extra_specs() function in for the api tests in tempest we are enabling extra specs for share-types by looking at the tempest.conf file. This is not the best practice since we might end testing microversions where these capabilities are not supported.

This is the case for create_share_from_snapshot_support and snapshot_support specs.

We should enable/disable these specs directly on the share-type creation after performing microversions checks. In other words, we should make sure that tests that *need* this specs enabled do so as optional extra-specs.

Changed in manila:
status: New → Triaged
importance: Undecided → Low
Tom Barron (tpb) on 2018-07-19
tags: added: share-types tempest tests
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers