fix: Run HappyPath tests (#1592)

* fix: Run HappyPath tests

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Run HappyPath tests to start an empty workspace

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Fix test suite

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
pull/1597/head
Anatolii Bazko 2023-01-07 15:30:50 +02:00 committed by GitHub
parent 39114e1986
commit 3ab483c679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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)
}