From 7aee83f59c8243a3723b956dadab5505066e4222 Mon Sep 17 00:00:00 2001 From: Vitaly Gavensky Date: Thu, 16 May 2024 19:57:03 +0300 Subject: [PATCH] Experiment with standalone plugin --- .github/workflows/pdr_plugin_ci_workflow.yml | 6 +++--- .../pdr_deterministic_plugin/tests/exclude_list_tests.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pdr_plugin_ci_workflow.yml b/.github/workflows/pdr_plugin_ci_workflow.yml index fefb4d05e..bed70f5ef 100644 --- a/.github/workflows/pdr_plugin_ci_workflow.yml +++ b/.github/workflows/pdr_plugin_ci_workflow.yml @@ -31,11 +31,11 @@ jobs: - name: Run single plugin instance on background as standalone run: | - cp -r utils plugins/pdr_deterministic_plugin/ufm_sim_web_service - cp -r utils plugins/pdr_deterministic_plugin/ + cp -r ./utils plugins/pdr_deterministic_plugin/ufm_sim_web_service + cp -r ./utils plugins/pdr_deterministic_plugin/ pkill -9 -f isolation_algo.py sleep 10 - nohup python plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_algo.py > /dev/null 2>&1 & +# nohup python plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_algo.py > /dev/null 2>&1 & - name: Test exclude list with pytest run: pytest plugins/pdr_deterministic_plugin/tests/exclude_list_tests.py #--doctest-modules --junitxml=junit/exclude_list_tests_results.xml --cov=com --cov-report=xml --cov-report=html diff --git a/plugins/pdr_deterministic_plugin/tests/exclude_list_tests.py b/plugins/pdr_deterministic_plugin/tests/exclude_list_tests.py index 2cc78d19b..e11d2893f 100644 --- a/plugins/pdr_deterministic_plugin/tests/exclude_list_tests.py +++ b/plugins/pdr_deterministic_plugin/tests/exclude_list_tests.py @@ -21,7 +21,7 @@ from exclude_list import ExcludeList, ExcludeListItem from isolation_algo import create_logger -# Temp 1 +# Temp 2 def get_logger(): """