tests: Use full svc address to check kbs service

the service might not listen on the default port, use the full service
address to ensure we are talking to the right resource.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
This commit is contained in:
Lukáš Doktor 2024-03-26 12:17:29 +01:00
parent 6b0eaca4d4
commit a671b3fc6e
No known key found for this signature in database
GPG Key ID: 26B362E47FCF22C1

View File

@ -269,7 +269,7 @@ function kbs_k8s_deploy() {
if [ -n "$ingress" ]; then
echo "::group::Check the kbs service is exposed"
svc_host=$(kbs_k8s_svc_host)
svc_host=$(kbs_k8s_svc_http_addr)
if [ -z "$svc_host" ]; then
echo "ERROR: service host not found"
return 1