From c55354b019bd3567795165a0ccc84e6393b03aa7 Mon Sep 17 00:00:00 2001 From: MICHELE GAZZETTI Date: Mon, 16 Oct 2023 13:25:51 +0100 Subject: [PATCH] change agent listening port Signed-off-by: MICHELE GAZZETTI --- tests/test.sh | 4 ++-- tests/test_templates.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.sh b/tests/test.sh index 39e17c38..fb7a60a2 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -3,12 +3,12 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) echo "Script dir: $SCRIPT_DIR" -${SCRIPT_DIR}/../setup.sh -v -n +#${SCRIPT_DIR}/../setup.sh -v -n cd ${SCRIPT_DIR}/.. source ./venv/bin/activate -python emulator.py -p 5002 -redfish-path ./Resources/CXLAgent/ & +python emulator.py -p 80 -redfish-path ./Resources/CXLAgent/ & python -m unittest discover -s tests diff --git a/tests/test_templates.py b/tests/test_templates.py index c0e93a31..374e029f 100644 --- a/tests/test_templates.py +++ b/tests/test_templates.py @@ -100,7 +100,7 @@ "Severity": "Ok", "Message": "A aggregation source of connection method Redfish located at http://cxl01.ofa.org:5002 has been discovered.", "MessageId": "Foo.1.0.AggregationSourceDiscovered", - "MessageArgs": [ "Redfish", "http://127.0.0.1:5002" ], + "MessageArgs": [ "Redfish", "http://127.0.0.1:80" ], "OriginOfCondition": { "@odata.id": "/redfish/v1/AggregationService/ConnectionMethods/CXL" }