diff --git a/manifests/pathcompservice.yaml b/manifests/pathcompservice.yaml index f1017870098b578770fd0d4f8e9201c7fb9bf0a4..3ba12750b20a7093a570748e67a93922316a66f6 100644 --- a/manifests/pathcompservice.yaml +++ b/manifests/pathcompservice.yaml @@ -36,7 +36,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10020"] diff --git a/manifests/serviceservice.yaml b/manifests/serviceservice.yaml index 3865fd6c0bee8d5222d57c50df58435a5669b9e1..7d7bdaa4ef9ad4972da6236071810c63a9faa4f8 100644 --- a/manifests/serviceservice.yaml +++ b/manifests/serviceservice.yaml @@ -36,7 +36,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:3030"] diff --git a/my_deploy.sh b/my_deploy.sh index 1ffbffa15e3d285af37ed6328e45b768de7abc1b..e3ad5e71ae58f8546ecf7f24bf2a3a4c0d03cb37 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="YES" +export CRDB_DROP_DATABASE_IF_EXISTS="" # 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="YES" +export QDB_DROP_TABLES_IF_EXIST="" # Disable flag for re-deploying QuestDB from scratch. export QDB_REDEPLOY="" diff --git a/src/service/tests/test_service_recompute_cons.sh b/src/service/tests/test_service_recompute_cons.sh new file mode 100644 index 0000000000000000000000000000000000000000..e5bc18895b2968ba99b7262458ed988e57ee920c --- /dev/null +++ b/src/service/tests/test_service_recompute_cons.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +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 diff --git a/test_service_recompute_cons.sh b/test_service_recompute_cons.sh deleted file mode 100644 index aee82aaf4dcf75e3224a35e39e92b4aa34d49b4b..0000000000000000000000000000000000000000 --- a/test_service_recompute_cons.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/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