Skip to content

Commit

Permalink
[Security Solution][Endpoint] Re-enable execute api integration tests (
Browse files Browse the repository at this point in the history
…#175082)

## Summary

Re-enable `execute` api integration tests

closes /issues/171666
closes /issues/171667

### Flaky runner
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4904
x 100 ( all pass )

### 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
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
ashokaditya and kibanamachine authored Jan 18, 2024
1 parent e31118a commit 05a6ba5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ export default function ({ getService }: FtrProviderContext) {
const supertestWithoutAuth = getService('supertestWithoutAuth');
const endpointTestResources = getService('endpointTestResources');

// FLAKY: https://github.com/elastic/kibana/issues/171666
// FLAKY: https://github.com/elastic/kibana/issues/171667
describe('Endpoint `execute` response action', function () {
targetTags(this, ['@ess', '@serverless']);

Expand All @@ -30,7 +28,9 @@ export default function ({ getService }: FtrProviderContext) {
});

after(async () => {
await endpointTestResources.unloadEndpointData(indexedData);
if (indexedData) {
await endpointTestResources.unloadEndpointData(indexedData);
}
});

it('should not allow `execute` action without required privilege', async () => {
Expand Down

0 comments on commit 05a6ba5

Please sign in to comment.