5c35a84b72
Using a cached copy of the SQLite Data base speeds up the tests: Before this change Ran 44 tests in 126.154s OK Slowest 5 tests took 15.87 secs: 3.34 test_delete_role (test_backend_sql.SqlIdentity) 3.17 test_delete_user_with_tenant_association (test_backend_sql.SqlIdentity) 3.17 test_create_tenant_invalid_name_fails (test_backend_sql.SqlIdentity) 3.10 test_get_user (test_backend_sql.SqlIdentity) 3.10 test_get_tenant_bad_tenant (test_backend_sql.SqlIdentity) After this change: Ran 44 tests in 58.996s OK Slowest 5 tests took 8.64 secs: 2.57 test_add_user_to_tenant (test_backend_sql.SqlIdentity) 1.58 test_update_tenant_long_name_fails (test_backend_sql.SqlIdentity) 1.51 test_rename_duplicate_user_name_fails (test_backend_sql.SqlIdentity) 1.50 test_delete_tenant_with_user_association (test_backend_sql.SqlIdentity) 1.49 test_delete_user_with_tenant_association (test_backend_sql.SqlIdentity) Slowest test was where the database was initialized Change-Id: Idf046763e8718762695bbcedce4d223f654054db
25 lines
265 B
Plaintext
25 lines
265 B
Plaintext
*.pyc
|
|
*.swp
|
|
vendor
|
|
.ksl-venv
|
|
.venv
|
|
.tox
|
|
keystone.egg-info/
|
|
*.log
|
|
.coverage
|
|
covhtml
|
|
pep8.txt
|
|
nosetests.xml
|
|
*.db
|
|
doc/build
|
|
.DS_Store
|
|
doc/source/modules.rst
|
|
doc/source/keystone.*
|
|
ChangeLog
|
|
requirements.txt
|
|
AUTHORS
|
|
build/
|
|
dist/
|
|
etc/keystone.conf
|
|
tests/test.db.pristine
|