Files
superset2/run_tests.sh
Bogdan 95f6ea2c4a Skeleton for remote query execution using celery. (#908)
* Carapal react mockup

This is really just a mock up written in React to try different
components. It could become scaffolding to build a prototype, or not.

* Preliminary commit for Celery backend

* Move the SQL query execution to the celery worker.

* React scetch

* Refactor SQL execution to use the celery if configured.

* Refactor SQL execution to use the celery if configured.

* Add query model

* Remove QueryResult. Query has a tmp_table_name field that has all the data.

* Add create table as wrapper.

* Create table as

* Address the comments.

* Add trailing commas

* Remove the init_query test.

* Handle 'undefined' schema case
2016-08-18 00:01:54 -07:00

13 lines
358 B
Bash
Executable File

#!/usr/bin/env bash
echo $DB
rm ~/.caravel/caravel_unittests.db
rm ~/.caravel/celerydb.sqlite
rm ~/.caravel/celery_results.sqlite
rm -f .coverage
export CARAVEL_CONFIG=tests.caravel_test_config
set -e
caravel/bin/caravel db upgrade
caravel/bin/caravel db upgrade # running twice on purpose as a test
caravel/bin/caravel version -v
python setup.py nosetests