Skip to content

Commit

Permalink
Tests: silence some missing file warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Radu Carpa authored and bari12 committed Jan 12, 2024
1 parent 0f139ad commit e1d408b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tools/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ fi
echo 'Clearing memcache'
echo flush_all > /dev/tcp/127.0.0.1/11211

echo 'Update dependencies with pip'
pip install --upgrade -r requirements.txt
if [ -f 'requirements.txt' ]; then
echo 'Update dependencies with pip'
pip install --upgrade -r requirements.txt
fi

if test ${pip_only}; then
exit
Expand Down Expand Up @@ -116,8 +118,10 @@ if test ${keep_db}; then
else
echo 'Resetting database tables'

echo 'Removing old SQLite databases'
rm -f /tmp/rucio.db
if [ -f /tmp/rucio.db ]; then
echo 'Removing old SQLite databases'
rm -f /tmp/rucio.db
fi

tools/reset_database.py

Expand Down

0 comments on commit e1d408b

Please sign in to comment.