Can't run live system tests using testr

Bug #1243392 reported by David Stanek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Morgan Fainberg

Bug Description

The move to testr has broken the ability to run the live system tests. Prior to testr they were run either directly by nose or through run_tests.sh. It seems that testr doesn't like the file names likely because the begin with an _.

To fix this I'd like to create a new location for system tests so that they can excluded from the default test run, but can be run by hand.

David Stanek (dstanek)
Changed in keystone:
assignee: nobody → David Stanek (dstanek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/53208

Changed in keystone:
status: New → In Progress
Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Medium
Revision history for this message
Dolph Mathews (dolph) wrote :

Unassigning due to inactivity.

Changed in keystone:
assignee: David Stanek (dstanek) → nobody
status: In Progress → Triaged
Changed in keystone:
assignee: nobody → Morgan Fainberg (mdrnstm)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/80409
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=c72616335717450edaa95f4ecb046f9e68692deb
Submitter: Jenkins
Branch: master

commit c72616335717450edaa95f4ecb046f9e68692deb
Author: Morgan Fainberg <email address hidden>
Date: Thu Mar 13 15:01:38 2014 -0700

    Make LIVE Tests configurable with ENV

    To enable ldap live test, set the environmental variable
    ``ENABLE_LDAP_LIVE_TESTS`` to a non-false value.

    To enable tls ldap live test, set the environmental variable
    ``ENABLE_TLS_LDAP_LIVE_TESTS`` to a non-false value.

    To enable mysql sql live test, set the environmental variable
    ``ENABLE_LIVE_MYSQL_TESTS`` to a non-false value.

    To enable postgres sql live test, set the environmental variable
    ``ENABLE_LIVE_POSTGRES_TESTS`` to a non-false value.

    To enable db2 sql live test, set the environmental variable
    ``ENABLE_LIVE_DB2_TESTS`` to a non-false value.

    This allows for running all tests in a standard run by simply setting
    the appropriate environmental variables.

    This moves the live tests to be skips if the specific live-test
    environmental variables are not set.

    Change-Id: I8c09a8dcfca3f9691306c5f416f688205171bda3
    Closes-Bug: 1243392

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: icehouse-rc1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.