Skip to content

Commit

Permalink
change agent listening port
Browse files Browse the repository at this point in the history
Signed-off-by: MICHELE GAZZETTI <Michele.Gazzetti1@ibm.com>
  • Loading branch information
mgazz committed Oct 16, 2023
1 parent 13ba5ee commit c55354b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/test_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit c55354b

Please sign in to comment.