Add message about preloading subunit streams

This commit adds a simple message to explain that it's loading old
subunit streams into testr. Without this the output from testr load
is slightly confusing because it is essentially:

    /opt/stack/new/devstack
    /opt/stack/new/tempest /opt/stack/new/devstack
    Ran 1396 (+919) tests in 1229.000s (-611.000s)
    PASSED (id=2, skips=124)

repeated 10 times.

Change-Id: I6549c78d62379da1eadc51e3015003cdcf1cae62
This commit is contained in:
Matthew Treinish
2015-02-13 11:38:17 -05:00
parent f8f7761132
commit ef3d41f6a0

View File

@@ -551,6 +551,7 @@ function load_subunit_stream {
if [[ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]]; then
#TODO(mtreinish): This if block can be removed after all the nodepool images
# are built using with streams dir instead
echo "Loading previous tempest runs subunit streams into testr"
if [[ -f /opt/git/openstack/tempest/.testrepository/0 ]]; then
temp_stream=`mktemp`
subunit-1to2 /opt/git/openstack/tempest/.testrepository/0 > $temp_stream