From edbb006a0cbd58df75e78f7b25f9f95a6127e497 Mon Sep 17 00:00:00 2001 From: gifrerenom <lluis.gifre@cttc.es> Date: Tue, 16 May 2023 17:21:15 +0000 Subject: [PATCH] Deploy/Test scripts: - Updated my_deploy - Updated test script for recompute connections RPC --- my_deploy.sh | 4 ++-- test_service_recompute_cons.sh | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 test_service_recompute_cons.sh diff --git a/my_deploy.sh b/my_deploy.sh index e3ad5e71a..1ffbffa15 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 000000000..aee82aaf4 --- /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 -- GitLab