From 3ab483c679a9cb0bebd387b1a9b2ad1b1b18e652 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Sat, 7 Jan 2023 15:30:50 +0200 Subject: [PATCH] fix: Run HappyPath tests (#1592) * fix: Run HappyPath tests Signed-off-by: Anatolii Bazko * Run HappyPath tests to start an empty workspace Signed-off-by: Anatolii Bazko * Fix test suite Signed-off-by: Anatolii Bazko Signed-off-by: Anatolii Bazko --- build/scripts/oc-tests/oc-test-happy-path.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/scripts/oc-tests/oc-test-happy-path.sh b/build/scripts/oc-tests/oc-test-happy-path.sh index fc0c7a8a6..f51f660b0 100755 --- a/build/scripts/oc-tests/oc-test-happy-path.sh +++ b/build/scripts/oc-tests/oc-test-happy-path.sh @@ -13,10 +13,8 @@ set -ex -export OPERATOR_REPO=$(dirname "$(dirname "$(dirname "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")")") -source <(curl -s ${DEVWORKSPACE_HAPPY_PATH}/common.sh) - export DEVWORKSPACE_HAPPY_PATH="https://raw.githubusercontent.com/eclipse/che/main/tests/devworkspace-happy-path" +export OPERATOR_REPO=$(dirname "$(dirname "$(dirname "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")")") source "${OPERATOR_REPO}/build/scripts/oc-tests/oc-common.sh" #Stop execution on any error @@ -24,6 +22,8 @@ trap "catchFinish" EXIT SIGINT runTests() { . ${OPERATOR_REPO}/build/scripts/olm/test-catalog-from-sources.sh --verbose + + export HAPPY_PATH_SUITE=test-empty-workspace-devworkspace-happy-path-code bash <(curl -s ${DEVWORKSPACE_HAPPY_PATH}/remote-launch.sh) }