Update rsyslog regex and other fixes
Changes:
- Update string for rsyslog regex.
- Add 10 seconds wait for REST to restart.
Change-Id: I967f1a1dbbbdb89667dc4933093420cccba13a83
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/remote_logging/test_remote_logging.robot b/remote_logging/test_remote_logging.robot
index 9a7359a..7acf8d9 100644
--- a/remote_logging/test_remote_logging.robot
+++ b/remote_logging/test_remote_logging.robot
@@ -25,7 +25,7 @@
${BMC_START_MSG} Starting Flush Journal to Persistent Storage
${BMC_BOOT_MSG} Startup finished in
${BMC_SYSLOG_REGEX} dropbear|vrm-control.sh
-${RSYSLOG_REGEX} start|exiting on signal 15
+${RSYSLOG_REGEX} start|exiting on signal 15|there are no active actions configured
${RSYSLOG_RETRY_REGEX} suspended, next retry
*** Test Cases ***
@@ -59,6 +59,10 @@
Write Attribute ${BMC_LOGGING_URI}${/}rest_api_logs Enabled data=${log_dict}
... verify=${True} expected_value=${False}
+ # If it was enabled prior, this REST footprint will show up.
+ # Takes around 5 seconds for the REST to restart service when policy is changed.
+ Sleep 10s
+
${login_footprint}= Catenate user:root POST http://127.0.0.1:8081/login json:None 200 OK
# Example: Just get the message part of the syslog
# user:root POST http://127.0.0.1:8081/login json:None 200 OK