Revision 0487aeb5

View differences:

build/run-tests.sh
745 745
        && test_database=$(python -c "import yaml; print yaml.load(file('config/database.yml'))['test']['database']") \
746 746
        && psql "$test_database" -c "SELECT pg_terminate_backend (pg_stat_activity.procpid::int) FROM pg_stat_activity WHERE pg_stat_activity.datname = '$test_database';" 2>/dev/null
747 747

  
748
    mkdir -p "$WORKSPACE/services/api/tmp/pids"
749

  
748 750
    cd "$WORKSPACE/services/api" \
749 751
        && RAILS_ENV=test bundle exec rake db:drop \
750 752
        && RAILS_ENV=test bundle exec rake db:setup \
......
791 793
}
792 794
do_install apps/workbench workbench
793 795

  
796
unset http_proxy https_proxy no_proxy
797

  
794 798
test_doclinkchecker() {
795 799
    (
796 800
        set -e

Also available in: Unified diff