Skip to content

Commit 9bff064

Browse files
committed
Fix current encoding errors in syslog test
Use default encoding settings when reading syslog data over SSH to avoid errors when attempting to read some latin1-encoded characters (e.g., mu or u with umlaut) as utf-8. This reverts 58effdf (vmware#7977). Additionally, remove retry of the cat operation; it seems like one of the least likely steps of this process to fail, and code history does not reveal any reason it was added. This reverts 18841ed (vmware#6841).
1 parent b8eeb5c commit 9bff064

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test-cases/Group6-VIC-Machine/6-15-Syslog.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ Verify VCH remote syslog
6464

6565
Wait Until Container Stops ${id} 5
6666

67-
${syslog-conn}= Open Connection %{SYSLOG_SERVER} encoding=unicode_escape
67+
${syslog-conn}= Open Connection %{SYSLOG_SERVER}
6868
Login %{SYSLOG_USER} %{SYSLOG_PASSWD}
69-
${out}= Wait Until Keyword Succeeds 10x 3s Execute Command cat ${SYSLOG_FILE}
69+
${out}= Execute Command cat ${SYSLOG_FILE}
7070
Close Connection
7171
Log ${out}
7272

0 commit comments

Comments
 (0)