From d08c2bb743409f6b88036dcc82955c9598b6103b Mon Sep 17 00:00:00 2001 From: Robert Oskamp Date: Fri, 11 Oct 2024 12:18:50 +0200 Subject: [PATCH] Tag deployment agnostic serverless tests with esGate (#195855) ## Summary This PR adds the `esGate` tag to the serverless tests in the deployment agnostic test directory. This will make sure these tests are run as part of the Elasticsearch serverless checks. Related to #195813 where the deployment agnostic test configs are added to the pipeline for the Kibana side. --- .../deployment_agnostic/configs/serverless/oblt.index.ts | 4 +++- .../deployment_agnostic/configs/serverless/search.index.ts | 4 +++- .../deployment_agnostic/configs/serverless/security.index.ts | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.index.ts b/x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.index.ts index f734f0b805d85..b11ced857253f 100644 --- a/x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.index.ts +++ b/x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.index.ts @@ -7,7 +7,9 @@ import { DeploymentAgnosticFtrProviderContext } from '../../ftr_provider_context'; export default function ({ loadTestFile }: DeploymentAgnosticFtrProviderContext) { - describe('Serverless Observability - Deployment-agnostic api integration tests', () => { + describe('Serverless Observability - Deployment-agnostic api integration tests', function () { + this.tags(['esGate']); + // load new oblt and platform deployment-agnostic test here loadTestFile(require.resolve('../../apis/console')); loadTestFile(require.resolve('../../apis/core')); diff --git a/x-pack/test/api_integration/deployment_agnostic/configs/serverless/search.index.ts b/x-pack/test/api_integration/deployment_agnostic/configs/serverless/search.index.ts index 468cafccccf1d..97db4bf32d47a 100644 --- a/x-pack/test/api_integration/deployment_agnostic/configs/serverless/search.index.ts +++ b/x-pack/test/api_integration/deployment_agnostic/configs/serverless/search.index.ts @@ -7,7 +7,9 @@ import { DeploymentAgnosticFtrProviderContext } from '../../ftr_provider_context'; export default function ({ loadTestFile }: DeploymentAgnosticFtrProviderContext) { - describe('Serverless Search - Deployment-agnostic api integration tests', () => { + describe('Serverless Search - Deployment-agnostic api integration tests', function () { + this.tags(['esGate']); + // load new search and platform deployment-agnostic test here loadTestFile(require.resolve('../../apis/console')); loadTestFile(require.resolve('../../apis/core')); diff --git a/x-pack/test/api_integration/deployment_agnostic/configs/serverless/security.index.ts b/x-pack/test/api_integration/deployment_agnostic/configs/serverless/security.index.ts index 20046ab60c700..9e750ccf898f3 100644 --- a/x-pack/test/api_integration/deployment_agnostic/configs/serverless/security.index.ts +++ b/x-pack/test/api_integration/deployment_agnostic/configs/serverless/security.index.ts @@ -7,7 +7,9 @@ import { DeploymentAgnosticFtrProviderContext } from '../../ftr_provider_context'; export default function ({ loadTestFile }: DeploymentAgnosticFtrProviderContext) { - describe('Serverless Security - Deployment-agnostic api integration tests', () => { + describe('Serverless Security - Deployment-agnostic api integration tests', function () { + this.tags(['esGate']); + // load new security and platform deployment-agnostic test here loadTestFile(require.resolve('../../apis/console')); loadTestFile(require.resolve('../../apis/core'));