Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions run_l2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@ pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rfc_in

pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rfc_xconf_communication_success.json test/functional-tests/tests/test_rfc_xconf_communication.py

cat /opt/logs/rfcscript.txt.1

cat /opt/logs/rfcscript.txt.0
pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rfc_setget_param.json test/functional-tests/tests/test_rfc_setget_param.py

pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rfc_tr181_setget_local_param.json test/functional-tests/tests/test_rfc_tr181_setget_local_param.py


# The cert selector test cases are commented for now. Once the code changes are moved to open source, it will be enabled.
#pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rfc_dynamic_static_cert_selector.json test/functional-tests/tests/test_rfc_dynamic_static_cert_selector.py

Expand Down
2 changes: 2 additions & 0 deletions test/functional-tests/tests/test_rfc_override_rfc_prop.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,13 @@ def test_rfc_override_rfc_prop():
XCONF_URL_MSG = f"_xconf_server_url: [https://mockxconf_opt_rfc_properties/featureControl/getSettings]"
XCONF_REQ_MSG = f" Xconf Request : [https://mockxconf_opt_rfc_properties/featureControl/getSettings"
OVERRIDE_MSG= f"Setting URL from local override to https://mockxconf_opt_rfc_properties/featureControl/getSettings"
RFC_STATE_MSG = f"Updating State 2"

assert grep_log_file(RFC_LOG_FILE, RFC_FILE_PATH_MSG), f"Expected '{RFC_FILE_PATH_MSG}' in log file."
assert grep_log_file(RFC_LOG_FILE, XCONF_URL_MSG), f"Expected '{XCONF_URL_MSG}' in log file."
assert grep_log_file(RFC_LOG_FILE, XCONF_REQ_MSG), f"Expected '{XCONF_REQ_MSG}' in log file."
assert grep_log_file(RFC_LOG_FILE, OVERRIDE_MSG), f"Expected '{OVERRIDE_MSG}' in log file."
assert grep_log_file(RFC_LOG_FILE, RFC_STATE_MSG), f"Expected '{RFC_STATE_MSG}' in log file."
except Exception as e:
print(f"Exception during Validate the Override function for rfc.properties file: {e}")
assert False, f"Exception during Validate the Override function for rfc.properties file: {e}"
Loading