#!/bin/bash -xue
TEMPEST_DIR=/opt/stack/tempest
sudo pip install -r $TEMPEST_DIR/requirements.txt

source jenkins/openstack-ci-scripts/jenkins/distro-utils.sh
if is_ubuntu; then
    if [[ "$(lsb_release -c -s)" == "trusty" ]]; then
        sudo pip install -U oslo.config
    fi
fi

set +e
nosetests -w $TEMPEST_DIR/tempest/api/object_storage --exe --exclude='test_get_object_after_expiry_time|test_get_object_at_expiry_time' --with-xunit --xunit-file=${WORKSPACE}/tempest-tests.xml
set -e

#!/bin/bash -xue

EXCLUDES='test_get_object_after_expiry_time|test_get_object_at_expiry_time'

TEMPEST_DIR=/opt/stack/tempest
sudo pip install -r $TEMPEST_DIR/requirements.txt

source jenkins/openstack-ci-scripts/jenkins/distro-utils.sh
if is_ubuntu; then
    if [[ "$(lsb_release -c -s)" == "trusty" ]]; then
        sudo pip install -U oslo.config
    fi
fi

set +e
nosetests -w $TEMPEST_DIR/tempest/api/object_storage --exe --exclude=${EXCLUDES} --with-xunit --xunit-file=${WORKSPACE}/tempest-tests.xml
set -e

Move excluded tests to top of script
Jenkins: Move excluded tests to top of script
