Run SQLAlchemy unit tests on RDBMS

Registered by Julien Danjou

The goal of this blueprint is to run all the unit tests against a real MySQL and a real PostgreSQL servers. And not only SQLite in memory.

Blueprint information

Status:
Complete
Approver:
Julien Danjou
Priority:
Medium
Drafter:
Julien Danjou
Direction:
Approved
Assignee:
Julien Danjou
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 5.0.0
Started by
Julien Danjou
Completed by
gordon chung

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/sql-unit-tests-on-real-backend,n,z

Addressed by: https://review.openstack.org/72980
    Refactored fake connection URL classes

Addressed by: https://review.openstack.org/73061
    Removed pecan app ref to fix test tearDown cleanup process

Addressed by: https://review.openstack.org/73062
    Fixed connection pooling in tests

Addressed by: https://review.openstack.org/73063
    * OSLO db.session fix

Addressed by: https://review.openstack.org/59489
    Run unit tests against MySQL

Addressed by: https://review.openstack.org/73092
    Fixed DateTime in PostgreSQL

Addressed by: https://review.openstack.org/59214
    Fix for get_statistics with postgresql

Addressed by: https://review.openstack.org/63049
    Run tests against PostgreSQL

Addressed by: https://review.openstack.org/95613
    Refactor tests to remove direct access to test DBManagers

Gerrit topic: https://review.openstack.org/#q,topic:bp/hbase-events-feature,n,z

Addressed by: https://review.openstack.org/117753
    Run unit tests against MySQL

Addressed by: https://review.openstack.org/125910
    Run unit tests against PostgreSQL

Addressed by: https://review.openstack.org/126571
    Creates one database per sql test

Addressed by: https://review.openstack.org/127289
    Sets default encoding for PostgreSQL testing

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.