diff --git a/.github/workflows/pdr_plugin_ci_workflow.yml b/.github/workflows/pdr_plugin_ci_workflow.yml index 89280d5ea..a2e4e1ef7 100644 --- a/.github/workflows/pdr_plugin_ci_workflow.yml +++ b/.github/workflows/pdr_plugin_ci_workflow.yml @@ -41,7 +41,6 @@ jobs: echo "Test exclusion list REST API methods" sleep 10 pytest -s $PDRPATH/tests/exclude_list_rest_api_tests.py --cov=$PDRPATH - echo "Terminating standalone PDR process" sudo bash $PDRPATH/.pytest/terminate_pdr_standalone_pytest.sh - name: Run full simulation test @@ -50,5 +49,4 @@ jobs: sudo bash $PDRPATH/.pytest/run_pdr_standalone_pytest.sh echo "Starting simulated test" python $PDRPATH/tests/simulation_telemetry.py - echo "Terminating standalone PDR process" sudo bash $PDRPATH/.pytest/terminate_pdr_standalone_pytest.sh diff --git a/plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh b/plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh index 01beeda33..ac86faefe 100644 --- a/plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh +++ b/plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh @@ -17,6 +17,6 @@ sed -i -e 's/INTERVAL=300/INTERVAL=10/g' "$CONFIG_FILE" sed -i -e 's/CONFIGURED_TEMP_CHECK=False/CONFIGURED_TEMP_CHECK=True/g' "$CONFIG_FILE" sed -i -e 's/DEISOLATE_CONSIDER_TIME=5/DEISOLATE_CONSIDER_TIME=1/g' "$CONFIG_FILE" -terminate_pdr_standalone_pytest.sh +$PLUGIN_DIR/.pytest/terminate_pdr_standalone_pytest.sh echo "Starting standalone PDR process" python $PLUGIN_DIR/ufm_sim_web_service/isolation_algo.py >/dev/null 2>&1 &