3c1d9dab85
This patch resolves a TODO in the .zuul.yaml about using common irrelevant files in our dsvm jobs. To be able to do that we need to move the test hooks from nova/tests/live_migraton under gate/. Change-Id: I4e5352fd1a99ff2b4134a734eac6626be772caf1
12 lines
267 B
Bash
Executable File
12 lines
267 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function run_tempest {
|
|
local message=$1
|
|
local tempest_regex=$2
|
|
sudo -H -u tempest tox -eall -- $tempest_regex --concurrency=$TEMPEST_CONCURRENCY
|
|
exitcode=$?
|
|
if [[ $exitcode -ne 0 ]]; then
|
|
die $LINENO "$message failure"
|
|
fi
|
|
}
|