Skip to content

Commit

Permalink
[FTR] Added skipFIPS tag for copy_to_space test with basic license (e…
Browse files Browse the repository at this point in the history
…lastic#208529)

## Summary
`copy_to_space` in `stateful.copy_to_space.config_basic.ts` is intended
to be run only with `basic` license, since FIPS overrides it we need to
skip that test for FIPS.


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
  • Loading branch information
elena-shostak authored Jan 28, 2025
1 parent 78127d8 commit e392ec4
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@ export default function copyToSpaceSpacesAndSecuritySuite(
createMultiNamespaceTestCases,
} = copyToSpaceTestSuiteFactory(context);

describe('copy to spaces', () => {
const config = context.getService('config');
const license = config.get('esTestCluster.license');

describe('copy to spaces', function () {
if (license === 'basic') {
this.tags('skipFIPS');
}

[
{
spaceId: SPACES.DEFAULT.spaceId,
Expand Down

0 comments on commit e392ec4

Please sign in to comment.