Skip to content

Commit

Permalink
Trying different strategies to get initdb to run
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 21, 2015
1 parent 86e10ef commit 1ca1776
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ script:
- ls -l $HOME/.wheelhouse
- tox --version
- tox -e $TOX_ENV

7 changes: 4 additions & 3 deletions run_unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ export AIRFLOW_CONFIG=$AIRFLOW_HOME/unittests.cfg
which airflow > /dev/null || python setup.py develop

# initialize the test db
AIRFLOW_DB=$AIRFLOW_HOME/unittests.db
ls -s $AIRFLOW_DB > /dev/null 2>&1 || airflow initdb # if it's missing
ls -s $AIRFLOW_DB | egrep '^0 ' > /dev/null && airflow initdb # if it's blank
#AIRFLOW_DB=$AIRFLOW_HOME/unittests.db
#ls -s $AIRFLOW_DB > /dev/null 2>&1 || airflow initdb # if it's missing
#ls -s $AIRFLOW_DB | egrep '^0 ' > /dev/null && airflow initdb # if it's blank
airflow initdb

nosetests --with-doctest \
--with-coverage \
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ fi
echo "Using ${HADOOP_DISTRO} distribution of Hadoop from ${HADOOP_HOME}"

pwd

./run_unit_tests.sh

0 comments on commit 1ca1776

Please sign in to comment.