diff --git a/my_deploy.sh b/my_deploy.sh index e3ad5e71ae58f8546ecf7f24bf2a3a4c0d03cb37..1ffbffa15e3d285af37ed6328e45b768de7abc1b 100755 --- a/my_deploy.sh +++ b/my_deploy.sh @@ -78,7 +78,7 @@ export CRDB_DATABASE="tfs" export CRDB_DEPLOY_MODE="single" # Disable flag for dropping database, if it exists. -export CRDB_DROP_DATABASE_IF_EXISTS="" +export CRDB_DROP_DATABASE_IF_EXISTS="YES" # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="" @@ -126,7 +126,7 @@ export QDB_TABLE_MONITORING_KPIS="tfs_monitoring_kpis" export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups" # Disable flag for dropping tables if they exist. -export QDB_DROP_TABLES_IF_EXIST="" +export QDB_DROP_TABLES_IF_EXIST="YES" # Disable flag for re-deploying QuestDB from scratch. export QDB_REDEPLOY="" diff --git a/test_service_recompute_cons.sh b/test_service_recompute_cons.sh new file mode 100644 index 0000000000000000000000000000000000000000..aee82aaf4dcf75e3224a35e39e92b4aa34d49b4b --- /dev/null +++ b/test_service_recompute_cons.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +source my_deploy.sh +./deploy/all.sh + +source tfs_runtime_env_vars.sh +PYTHONPATH=./src pytest --log-level=INFO --verbose src/service/tests/test_unitary_recompute_conns.py