Run test_db_api on all backends (sqlite, mysql, postgresql)
There is a lot of different things in SQl backends. For example work with casting.
In current SQLite we are able to store everything in column (with any type). Mysql will try to convert value to required type, and postgresql will raise IntegrityError. So to avoid such nasty errors on db.api layer we should runt test_db_api on all backends.
Blueprint information
- Status:
- Started
- Approver:
- Russell Bryant
- Priority:
- Undefined
- Drafter:
- Boris Pavlovic
- Direction:
- Needs approval
- Assignee:
- Roman Podoliaka
- Definition:
- Review
- Series goal:
- None
- Implementation:
- Good progress
- Milestone target:
- ongoing
- Started by
- Boris Pavlovic
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Run DB API tests on a given DB backend.
Addressed by: https:/
Fix vol_usage_update() DB API method and tests.
Addressed by: https:/
Fix types in test_ec2_
Addressed by: https:/
Use valid IP addresses values in tests
Addressed by: https:/
Fix datetime precision issues in MySQL < 5.6
Addressed by: https:/
Add a new datetime format to _parse_datetime()
Addressed by: https:/
Use timeutils.utcnow() throughout the code
Addressed by: https:/
Fix timing issue in SimpleTenantUsa
Addressed by: https:/
Fix ReservationTestCase on PostgreSQL
Addressed by: https:/
Fix FK violation in ConsoleTestCase
Addressed by: https:/
Fix instance_
Addressed by: https:/
Fix AggregateDBApiT
Addressed by: https:/
Fix ArchiveTestCase on PostgreSQL
Addressed by: https:/
Fix DB API tests depending on the order of rows
Addressed by: https:/
Fix PCI devices DB API tests
Addressed by: https:/
Fix test_shadow_
Addressed by: https:/
Fix FK violation errors in InstanceActionT
Addressed by: https:/
Fix type mismatch errors in NetworkTestCase
Addressed by: https:/
Fix CIDR values denoting hosts in PostgreSQL
Addressed by: https:/
Fix ReservationTestCase on PostgreSQL
Addressed by: https:/
Fix InstanceActionT
Addressed by: https:/
Don't compare microseconds part of DATETIME cols
Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)
Addressed by: https:/
Sync test.py module from common code
Addressed by: https:/
Revert "Sync common db and db/sqlalchemy"
Work Items
Dependency tree
* Blueprints in grey have been implemented.