diff options
Diffstat (limited to 'nova/tests/unit/db/test_migrations.conf')
-rw-r--r-- | nova/tests/unit/db/test_migrations.conf | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nova/tests/unit/db/test_migrations.conf b/nova/tests/unit/db/test_migrations.conf new file mode 100644 index 0000000000..310b7055c4 --- /dev/null +++ b/nova/tests/unit/db/test_migrations.conf @@ -0,0 +1,26 @@ +[unit_tests] +# Set up any number of databases to test concurrently. +# The "name" used in the test is the config variable key. + +# A few tests rely on one sqlite database with 'sqlite' as the key. + +sqlite=sqlite:// +#sqlitefile=sqlite:///test_migrations_utils.db +#mysql=mysql+mysqldb://user:pass@localhost/test_migrations_utils +#postgresql=postgresql+psycopg2://user:pass@localhost/test_migrations_utils + +[migration_dbs] +# Migration DB details are listed separately as they can't be connected to +# concurrently. These databases can't be the same as above + +# Note, sqlite:// is in-memory and unique each time it is spawned. +# However file sqlite's are not unique. + +sqlite=sqlite:// +#sqlitefile=sqlite:///test_migrations.db +#mysql=mysql+mysqldb://user:pass@localhost/test_migrations +#postgresql=postgresql+psycopg2://user:pass@localhost/test_migrations + +[walk_style] +snake_walk=yes +downgrade=yes |