From a95dd2da67dc3c5ff2e0c63812b6b143efbf6325 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Fri, 15 Sep 2023 09:00:49 +0200 Subject: [PATCH] fixes Signed-off-by: Anatolii Bazko --- .ci/openshift-ci/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/openshift-ci/common.sh b/.ci/openshift-ci/common.sh index a0d8d66787..fc35495781 100644 --- a/.ci/openshift-ci/common.sh +++ b/.ci/openshift-ci/common.sh @@ -102,7 +102,7 @@ testFactoryResolverNoPatOAuth() { testFactoryResolverResponse $1 200 echo "[INFO] Check factory resolver for private repository with NO PAT/OAuth setup" - testFactoryResolverResponse $1 400 + testFactoryResolverResponse $2 400 } # check that factory resolver returns correct value with PAT/OAuth setup @@ -120,7 +120,7 @@ testFactoryResolverResponse() { echo "[INFO] Check factory resolver" if [ "$(requestFactoryResolverGitRepoUrl ${URL} | grep "HTTP/1.1 ${RESPONSE_CODE}")" ]; then - echo "[INFO] Factory resolver returned 'HTTP/1.1 ${RESPONSE_CODE}' status code." + echo "[INFO] Factory resolver returned 'HTTP/1.1 ${RESPONSE_CODE}' status code. Expected client side response." else echo "[ERROR] Factory resolver returned wrong status code. Expected: HTTP/1.1 ${RESPONSE_CODE}." exit 1