Merge "Run Python 3 unit tests in parallel"
This commit is contained in:
commit
10d9794ac5
12
blacklist-py3.txt
Normal file
12
blacklist-py3.txt
Normal file
@ -0,0 +1,12 @@
|
||||
# Use a blacklist of tests known to fail on Python 3, until
|
||||
# all unit tests will pass on Python 3.
|
||||
backup.test_backup_models
|
||||
cluster.test_galera_cluster
|
||||
cluster.test_redis_cluster
|
||||
common.test_pagination
|
||||
guestagent.test_cassandra_manager
|
||||
guestagent.test_dbaas
|
||||
guestagent.test_mongodb_manager
|
||||
guestagent.test_operating_system
|
||||
guestagent.test_volume
|
||||
mgmt.test_datastores
|
@ -27,3 +27,4 @@ psycopg2>=2.5 # LGPL/ZPL
|
||||
cassandra-driver>=2.1.4 # Apache-2.0
|
||||
pycrypto>=2.6 # Public Domain
|
||||
couchdb>=0.8 # Apache-2.0
|
||||
os-testr>=0.7.0 # Apache-2.0
|
||||
|
87
tox.ini
87
tox.ini
@ -27,93 +27,8 @@ commands =
|
||||
xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
||||
|
||||
[testenv:py34]
|
||||
# Use a whitelist of tests known to pass on Python 3, until
|
||||
# all unit tests will pass on Python 3.
|
||||
commands =
|
||||
python -bb -m testtools.run \
|
||||
trove/tests/unittests/api/common/test_extensions.py \
|
||||
trove/tests/unittests/api/common/test_limits.py \
|
||||
trove/tests/unittests/api/test_versions.py \
|
||||
trove/tests/unittests/backup/test_backup_controller.py \
|
||||
trove/tests/unittests/backup/test_backup_models.py \
|
||||
trove/tests/unittests/backup/test_backupagent.py \
|
||||
trove/tests/unittests/backup/test_storage.py \
|
||||
trove/tests/unittests/cluster/test_cassandra_cluster.py \
|
||||
trove/tests/unittests/cluster/test_cluster.py \
|
||||
trove/tests/unittests/cluster/test_cluster_controller.py \
|
||||
trove/tests/unittests/cluster/test_cluster_models.py \
|
||||
trove/tests/unittests/cluster/test_cluster_pxc_controller.py \
|
||||
trove/tests/unittests/cluster/test_cluster_redis_controller.py \
|
||||
trove/tests/unittests/cluster/test_cluster_vertica_controller.py \
|
||||
trove/tests/unittests/cluster/test_cluster_views.py \
|
||||
trove/tests/unittests/cluster/test_mongodb_cluster.py \
|
||||
trove/tests/unittests/cluster/test_vertica_cluster.py \
|
||||
trove/tests/unittests/common/test_common_extensions.py \
|
||||
trove/tests/unittests/common/test_context.py \
|
||||
trove/tests/unittests/common/test_crypto_utils.py \
|
||||
trove/tests/unittests/common/test_exception.py \
|
||||
trove/tests/unittests/common/test_notification.py \
|
||||
trove/tests/unittests/common/test_remote.py \
|
||||
trove/tests/unittests/common/test_stream_codecs.py \
|
||||
trove/tests/unittests/common/test_template.py \
|
||||
trove/tests/unittests/common/test_utils.py \
|
||||
trove/tests/unittests/common/test_wsgi.py \
|
||||
trove/tests/unittests/conductor/test_conf.py \
|
||||
trove/tests/unittests/conductor/test_methods.py \
|
||||
trove/tests/unittests/configuration/test_configuration_controller.py \
|
||||
trove/tests/unittests/datastore/test_capability.py \
|
||||
trove/tests/unittests/datastore/test_datastore.py \
|
||||
trove/tests/unittests/datastore/test_datastore_version_metadata.py \
|
||||
trove/tests/unittests/datastore/test_datastore_versions.py \
|
||||
trove/tests/unittests/db/test_migration_utils.py \
|
||||
trove/tests/unittests/dns/test_designate_driver.py \
|
||||
trove/tests/unittests/guestagent/test_agent_heartbeats_models.py \
|
||||
trove/tests/unittests/guestagent/test_api.py \
|
||||
trove/tests/unittests/guestagent/test_backups.py \
|
||||
trove/tests/unittests/guestagent/test_configuration.py \
|
||||
trove/tests/unittests/guestagent/test_couchbase_manager.py \
|
||||
trove/tests/unittests/guestagent/test_couchdb_manager.py \
|
||||
trove/tests/unittests/guestagent/test_db2_manager.py \
|
||||
trove/tests/unittests/guestagent/test_dbmodels.py \
|
||||
trove/tests/unittests/guestagent/test_galera_cluster_api.py \
|
||||
trove/tests/unittests/guestagent/test_galera_manager.py \
|
||||
trove/tests/unittests/guestagent/test_guestagent_utils.py \
|
||||
trove/tests/unittests/guestagent/test_manager.py \
|
||||
trove/tests/unittests/guestagent/test_mariadb_manager.py \
|
||||
trove/tests/unittests/guestagent/test_models.py \
|
||||
trove/tests/unittests/guestagent/test_mongodb_cluster_manager.py \
|
||||
trove/tests/unittests/guestagent/test_mysql_manager.py \
|
||||
trove/tests/unittests/guestagent/test_pkg.py \
|
||||
trove/tests/unittests/guestagent/test_query.py \
|
||||
trove/tests/unittests/guestagent/test_redis_manager.py \
|
||||
trove/tests/unittests/guestagent/test_service.py \
|
||||
trove/tests/unittests/guestagent/test_vertica_api.py \
|
||||
trove/tests/unittests/guestagent/test_vertica_manager.py \
|
||||
trove/tests/unittests/instance/test_instance_controller.py \
|
||||
trove/tests/unittests/instance/test_instance_models.py \
|
||||
trove/tests/unittests/instance/test_instance_status.py \
|
||||
trove/tests/unittests/instance/test_instance_views.py \
|
||||
trove/tests/unittests/mgmt/test_clusters.py \
|
||||
trove/tests/unittests/mgmt/test_datastore_controller.py \
|
||||
trove/tests/unittests/mgmt/test_datastores.py \
|
||||
trove/tests/unittests/mgmt/test_models.py \
|
||||
trove/tests/unittests/module/test_module_controller.py \
|
||||
trove/tests/unittests/module/test_module_models.py \
|
||||
trove/tests/unittests/module/test_module_views.py \
|
||||
trove/tests/unittests/mysql/test_common.py \
|
||||
trove/tests/unittests/mysql/test_user_controller.py \
|
||||
trove/tests/unittests/network/test_neutron_driver.py \
|
||||
trove/tests/unittests/quota/test_quota.py \
|
||||
trove/tests/unittests/router/test_router.py \
|
||||
trove/tests/unittests/secgroups/test_security_group.py \
|
||||
trove/tests/unittests/taskmanager/test_api.py \
|
||||
trove/tests/unittests/taskmanager/test_clusters.py \
|
||||
trove/tests/unittests/taskmanager/test_galera_clusters.py \
|
||||
trove/tests/unittests/taskmanager/test_manager.py \
|
||||
trove/tests/unittests/taskmanager/test_models.py \
|
||||
trove/tests/unittests/taskmanager/test_vertica_clusters.py \
|
||||
trove/tests/unittests/upgrade/test_controller.py \
|
||||
trove/tests/unittests/upgrade/test_models.py
|
||||
ostestr --blacklist_file=blacklist-py3.txt
|
||||
|
||||
|
||||
[testenv:debug]
|
||||
|
Loading…
Reference in New Issue
Block a user