yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #56186
[Bug 1621449] Re: Unit tests run on old db schema
Sorry, but the bug is invalid. The migrations should not run for unit
tests. The tables get created from scratch for every test:
keystone/common/sql/contract_repo/versions/002_password_created_at_not_nullable.py
.
** Changed in: keystone
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1621449
Title:
Unit tests run on old db schema
Status in OpenStack Identity (keystone):
Invalid
Bug description:
On current master (6a93e9b) most of unit tests do not run on new
schema. For example, for test
keystone.tests.unit.assignment.role_backends.test_sql.SqlRole.test_role_crud
migration
contract_repo/versions/002_password_created_at_not_nullable.py never
gets applied.
Keystone should run all migrations for a test prior to the test's
execution.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1621449/+subscriptions
References