Skip to content

Commit

Permalink
Temp: full simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
vg12345 committed May 19, 2024
1 parent 5854493 commit cfa8bb8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pdr_plugin_ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
timeout-minutes: 10

env:
PYTHONPATH: '.:plugins/pdr_deterministic_plugin/ufm_sim_web_service'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ sed -i -e 's/DEISOLATE_CONSIDER_TIME=5/DEISOLATE_CONSIDER_TIME=1/g' "$CONFIG_FIL

echo "Starting 'isolation_algo.py'"
python $PLUGIN_DIR/ufm_sim_web_service/isolation_algo.py &
echo "Started 'isolation_algo.py'"
sleep 180
echo "Starting 'simulation_telemetry.py'"
python $PLUGIN_DIR/tests/simulation_telemetry.py
echo "Terminating 'isolation_algo.py'"
pkill -9 -f isolation_algo.py
echo "Terminated 'isolation_algo.py'"
exit 1
6 changes: 3 additions & 3 deletions plugins/pdr_deterministic_plugin/tests/exclude_list_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def test_exclude_list_class_methods():
if port.port_name != remove_port.port_name and port.port_name != auto_remove_port.port_name:
assert exclude_list.contains(port.port_name)

pytest.mark.run(order=1)
def test_exclude_list_rest_api():
#pytest.mark.run(order=1)
def no_test_exclude_list_rest_api():
"""
Test exclude list inside plugin via REST API
"""
Expand All @@ -116,4 +116,4 @@ def test_exclude_list_rest_api():

if __name__ == '__main__':
test_exclude_list_class_methods()
test_exclude_list_rest_api()
#test_exclude_list_rest_api()

0 comments on commit cfa8bb8

Please sign in to comment.