diff --git a/tests/.infra/centos-ci/nightly/cico-multiuser-all-tests.sh b/tests/.infra/centos-ci/nightly/cico-multiuser-all-tests.sh index 1053f99cfc..3fcf2e3b6c 100755 --- a/tests/.infra/centos-ci/nightly/cico-multiuser-all-tests.sh +++ b/tests/.infra/centos-ci/nightly/cico-multiuser-all-tests.sh @@ -37,6 +37,7 @@ bash tests/legacy-e2e/che-selenium-test/selenium-tests.sh \ --host=${CHE_ROUTE} \ --port=80 \ --multiuser \ + --fail-script-on-failed-tests \ --include-tests-under-repair \ --include-flaky-tests \ --fail-script-on-failed-tests \ diff --git a/tests/.infra/centos-ci/nightly/cico-multiuser-hot-update-tests.sh b/tests/.infra/centos-ci/nightly/cico-multiuser-hot-update-tests.sh new file mode 100755 index 0000000000..db6e3e8f19 --- /dev/null +++ b/tests/.infra/centos-ci/nightly/cico-multiuser-hot-update-tests.sh @@ -0,0 +1,37 @@ +#!/usr/bin/env bash +# Copyright (c) 2018 Red Hat, Inc. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +set -e + +echo "========Starting nigtly test job $(date)========" + +source tests/.infra/centos-ci/functional_tests_utils.sh + +setupEnvs +installKVM +installDependencies +installDockerCompose +installAndStartMinishift +loginToOpenshiftAndSetDevRole +installCheCtl +deployCheIntoCluster +seleniumTestsSetup + +bash tests/legacy-e2e/che-selenium-test/selenium-tests.sh \ +--host=${CHE_ROUTE} \ + --port=80 \ + --multiuser \ + --threads=1 \ + --fail-script-on-failed-tests \ + --test=org.eclipse.che.selenium.hotupdate.rolling.** \ + || IS_TESTS_FAILED=true + +echo "=========================== THIS IS POST TEST ACTIONS ==============================" +saveSeleniumTestResult +getOpenshiftLogs +archiveArtifacts "cico-nightly-hot-update-test" + +if [[ "$IS_TESTS_FAILED" == "true" ]]; then exit 1; fi diff --git a/tests/.infra/centos-ci/nightly/ocp-oauth-test.sh b/tests/.infra/centos-ci/nightly/ocp-oauth-test.sh index 153ae7ab79..215d8be4c8 100755 --- a/tests/.infra/centos-ci/nightly/ocp-oauth-test.sh +++ b/tests/.infra/centos-ci/nightly/ocp-oauth-test.sh @@ -31,8 +31,8 @@ bash tests/legacy-e2e/che-selenium-test/selenium-tests.sh \ --host=${CHE_ROUTE} \ --port=80 \ --multiuser \ - --test=org.eclipse.che.selenium.site.ocpoauth.** \ --fail-script-on-failed-tests \ + --test=org.eclipse.che.selenium.site.ocpoauth.** \ || IS_TESTS_FAILED=true echo "=========================== THIS IS POST TEST ACTIONS =============================="