Test collapse between v2 and v2.1

Registered by Ghanshyam Mann

Currently v2 and v2.1 have separate functional tests and their corresponding sample files.
As v2 and v2.1 are supposed to be identical, there is overhead to maintain two set of functional tests and sample files.

We can have one set of tests which can run for both v2 and v2.1.

Currently testscenarios generate v2 and v2.1 tests for all existing v2.1 functional tests (tests in functional/v3/). v2.1 tests runs same as previous and v2 tests which are not yet megred are skipped.
So once we merge tests, their v2 version tests should pass instead of skip.

End goal-
Step1 - Have one set of sample tests and sample files
Step2 - Remove v3 endpoint from api-pase.ini
Step3 - Make v2.1 default API on /v2 endpoint

Work is managed on etherpad- https://etherpad.openstack.org/p/merge_sample_tests

Work done till now - https://review.openstack.org/#/q/project:openstack/nova+branch:master+topic:merge_sample_tests,n,z

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Medium
Drafter:
Ghanshyam Mann
Direction:
Approved
Assignee:
Ghanshyam Mann
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 12.0.0
Started by
John Garbutt
Completed by
John Garbutt

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/test-collapse-v2-and-v21,n,z

Addressed by: https://review.openstack.org/201387
    Merge server list multi status tests between v2 and v2.1

Addressed by: https://review.openstack.org/201401
    Merge block_device_mapping boot tests between v2 and v2.1

Addressed by: https://review.openstack.org/197811
    Merge virtual interface tests between v2 and v2.1

Addressed by: https://review.openstack.org/201430
    Merge flavor all_extensions tests between v2 and v2.1

Addressed by: https://review.openstack.org/201439
    Move "versions" functional tests in v2.1 tests

Addressed by: https://review.openstack.org/174215
    Merge used-limits functional tests of v2 and v2.1

Addressed by: https://review.openstack.org/214917
    Merge limits functional tests of v2 and v2.1

Addressed by: https://review.openstack.org/214937
    Remove merged sample tests and file for v2 tests

Addressed by: https://review.openstack.org/214985
    Cleanup for merging v2 and v2.1 functional tests.

Addressed by: https://review.openstack.org/215015
    Fix remote_consoles miveroversion 2.8 not to run on /v3

Addressed by: https://review.openstack.org/215104
    Share server POST sample file for microversion too

Addressed by: https://review.openstack.org/215398
    Move common sample files methods in test base class

Addressed by: https://review.openstack.org/217606
    Remove unused sample files from /doc dir

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.