Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
ci/openshift-ci: Remove the expected results file before the loop
Browse files Browse the repository at this point in the history
To avoid using pre-existing file ensure it's not present by deleting it.

Signed-off-by: Lukáš Doktor <[email protected]>
  • Loading branch information
ldoktor committed Jan 23, 2024
1 parent ab9da6b commit 4e8858e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .ci/openshift-ci/run_smoke_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ else
fi

info "Wait for the HTTP server to respond"
rm -f hello_msg.txt
waitForProcess 60 1 "curl '${host}:${port}${hello_file}' -s -o hello_msg.txt"

grep "${hello_msg}" hello_msg.txt > /dev/null
Expand Down

0 comments on commit 4e8858e

Please sign in to comment.