Simplify tempest tests config
Telemetry integration test is explicitly enabled but it is later disabled. We can just skip enabling it. Change-Id: I48aedb22ac32d651db4029330d54ce25eb314764
This commit is contained in:
parent
61a1a93e39
commit
8e8eacbb03
18
run_tests.sh
18
run_tests.sh
@ -291,8 +291,9 @@ echo "telemetry_tempest_plugin.gnocchi" >> /tmp/openstack/tempest/test-include-l
|
|||||||
# Vitrage
|
# Vitrage
|
||||||
echo "TestEvents" >> /tmp/openstack/tempest/test-include-list.txt
|
echo "TestEvents" >> /tmp/openstack/tempest/test-include-list.txt
|
||||||
|
|
||||||
# Test Autoscaling with Telemetry (need panko, ubuntu doesn't ship it)
|
# Test Autoscaling with Telemetry
|
||||||
uses_debs || echo "test_telemetry_integration" >> /tmp/openstack/tempest/test-include-list.txt
|
# TODO(tkajinam): This test case is disabled because of instability
|
||||||
|
#echo "test_telemetry_integration" >> /tmp/openstack/tempest/test-include-list.txt
|
||||||
|
|
||||||
# Ironic
|
# Ironic
|
||||||
# Note: running all Ironic tests under SSL is not working
|
# Note: running all Ironic tests under SSL is not working
|
||||||
@ -346,16 +347,11 @@ echo 'manila_tempest_tests.tests.api.test_shares.SharesCephFSTest.test_create_ge
|
|||||||
echo 'manila_tempest_tests.tests.api.test_shares.SharesNFSTest.test_create_get_delete_share' >> /tmp/openstack/tempest/test-include-list.txt
|
echo 'manila_tempest_tests.tests.api.test_shares.SharesNFSTest.test_create_get_delete_share' >> /tmp/openstack/tempest/test-include-list.txt
|
||||||
|
|
||||||
if uses_debs; then
|
if uses_debs; then
|
||||||
echo "telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration" >> /tmp/openstack/tempest/test-exclude-list.txt
|
#EXCLUDES="--exclude-regex=..."
|
||||||
EXCLUDES="--exclude-list=/tmp/openstack/tempest/test-exclude-list.txt"
|
EXCLUDES=""
|
||||||
|
|
||||||
else
|
else
|
||||||
# https://review.opendev.org/#/c/504345/ has changed the behavior of tempest when running with --regex and --include-list-file
|
#EXCLUDES="--exclude-regex=..."
|
||||||
# and now operator between them is OR when filtering tests (which is how it was documented, btw). In order to promote
|
EXCLUDES=""
|
||||||
# we need to remove this regex option and implement https://review.opendev.org/#/c/547278 when ready.
|
|
||||||
# Note these tests were disabled in https://review.opendev.org/#/c/461969/ and hopefully it's more stable now and allows
|
|
||||||
# us to run it until we can implement --exclude-list-file in a stable way.
|
|
||||||
EXCLUDES="--exclude-regex=^telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration"
|
|
||||||
fi
|
fi
|
||||||
print_header 'Running Tempest'
|
print_header 'Running Tempest'
|
||||||
cd /tmp/openstack/tempest
|
cd /tmp/openstack/tempest
|
||||||
|
Loading…
Reference in New Issue
Block a user