From ccbf0cbce2121ef525b9a17b9a5395d9be0cfb84 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 22 Feb 2021 15:37:41 +0000 Subject: [PATCH] Fleet entrypoint to exclude the nightly tests Nightly tests are running only on `nightly` basis, let's use the same logic in the script, similar to the one defined in the pipeline -> https://github.com/elastic/e2e-testing/blob/dcc950796120fabf0c85086823cef221cf3ecbcb/.ci/Jenkinsfile#L316-L323 --- .ci/scripts/fleet-test.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.ci/scripts/fleet-test.sh b/.ci/scripts/fleet-test.sh index c5462286f0..e7a43bfbc0 100755 --- a/.ci/scripts/fleet-test.sh +++ b/.ci/scripts/fleet-test.sh @@ -15,4 +15,9 @@ set -euxo pipefail STACK_VERSION=${1:-'8.0.0-SNAPSHOT'} SUITE='fleet' -.ci/scripts/functional-test.sh "${SUITE}" "" "${STACK_VERSION}" +# Exclude the nightly tests in the CI. +# For further details refers to: +# https://github.com/elastic/e2e-testing/blob/dcc950796120fabf0c85086823cef221cf3ecbcb/.ci/Jenkinsfile#L316-L323 +TAG="~@nightly" + +.ci/scripts/functional-test.sh "${SUITE}" "${TAG}" "${STACK_VERSION}"