Skip to content

Commit

Permalink
Temp: output
Browse files Browse the repository at this point in the history
  • Loading branch information
vg12345 committed May 19, 2024
1 parent 2de6c3f commit 5d0fc28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pdr_plugin_ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@ jobs:
- name: Run single plugin instance on background as standalone
run: |
sudo bash plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh 2>/dev/null
echo "Starting standalone PDR process"
python plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_algo.py &
echo "Starting simulated test"
python plugins/pdr_deterministic_plugin/tests/simulation_telemetry.py
sudo python plugins/pdr_deterministic_plugin/tests/simulation_telemetry.py
echo "Terminating standalone PDR process"
pkill -9 -f isolation_algo.py 2>/dev/null || true
# - 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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -x
#

PLUGIN_DIR="plugins/pdr_deterministic_plugin"
pip install -r $PLUGIN_DIR/requirements.txt

Expand All @@ -17,5 +17,5 @@ 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"

#echo "Starting standalone PDR process"
#python $PLUGIN_DIR/ufm_sim_web_service/isolation_algo.py &
echo "Starting standalone PDR process"
python $PLUGIN_DIR/ufm_sim_web_service/isolation_algo.py &

0 comments on commit 5d0fc28

Please sign in to comment.