Skip to content

Commit

Permalink
fix: patterns in expect script and adjust timeout/exit conditions
Browse files Browse the repository at this point in the history
The issue identified was that the string "1" is recognized as a
pattern. The latest version of CentOS Stream 9 includes this
"pattern" in its boot sequence.

This commit also reveals some errors that failed silently,
specifically related to highperformance configurations. For now,
the plan is to disable these configurations and address the issues
in a future pull request.

Signed-off-by: Nestor Acuna Blanco <[email protected]>
  • Loading branch information
nestoracunablanco committed Nov 19, 2024
1 parent 75de525 commit cefd112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion automation/connect_to_rhel_console.exp
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ expect {
"*login*" {exit 0}
"*Welcome*" {exit 0}
"*A start job*" {exit 0}
exit 1
timeout {exit 1}
eof {exit 1}
}
2 changes: 1 addition & 1 deletion automation/test-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
EOF

sizes=("tiny" "small" "medium" "large")
workloads=("desktop" "server" "highperformance")
workloads=("desktop" "server")

if [[ $TARGET =~ fedora.* ]]; then
sizes=("small" "medium" "large")
Expand Down

0 comments on commit cefd112

Please sign in to comment.