A collection of plugins for Rally framework designed for the OpenStack platform.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
527 B

  1. #!/usr/bin/env bash
  2. LOCAL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  3. DB_CONNECTION="$(rally db show)"
  4. if [[ $DB_CONNECTION == sqlite* ]]; then
  5. CONCURRENCY=0
  6. else
  7. # in case of not sqlite db backends we cannot launch tests in parallel due
  8. # to possible conflicts
  9. CONCURRENCY=1
  10. # currently, RCI_KEEP_DB variable is used to not create new databases per
  11. # each test
  12. export RCI_KEEP_DB=1
  13. fi
  14. python $LOCAL_DIR/pytest_launcher.py "tests/functional" --concurrency $CONCURRENCY --posargs=$1