Skip to content

Commit

Permalink
[Security Solution][Detections] Re-enable skipped integration test (#…
Browse files Browse the repository at this point in the history
…87254) (#87396)

* Re-enable test skipped due to temporary failure

This failure may still be present/intermittent, but it passes reliably
locally; trying again on CI to check status.

* Triggering build

This should fail on the latest snapshot

* Update EQL integration tests to reflect new default pipe

We were previously using what is effectively `results | head` to
retrieve the desired amount of results. The default behavior was changed
in elastic/elasticsearch#66387, which caused these tests to fail as
different results were returned over such a large dataset.

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
rylnd and kibanamachine authored Jan 6, 2021
1 parent ef9cc93 commit 3c01bf5
Showing 1 changed file with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ export default ({ getService }: FtrProviderContext) => {
});
});

// ES PROMOTION FAILURE: http://github.com/elastic/kibana/issues/86709
describe.skip('EQL Rules', () => {
describe('EQL Rules', () => {
it('generates signals from EQL sequences in the expected form', async () => {
const rule: EqlCreateSchema = {
...getRuleForSignalTesting(['auditbeat-*']),
Expand All @@ -226,28 +225,26 @@ export default ({ getService }: FtrProviderContext) => {
ancestors: [
{
depth: 0,
id: 'UBXOBmkBR346wHgnLP8T',
id: 'gCF0B2kBR346wHgnb7m0',
index: 'auditbeat-8.0.0-2019.02.19-000001',
type: 'event',
},
],
original_event: {
action: 'boot',
dataset: 'login',
kind: 'event',
module: 'system',
origin: '/var/log/wtmp',
action: 'error',
category: 'user-login',
module: 'auditd',
},
parent: {
depth: 0,
id: 'UBXOBmkBR346wHgnLP8T',
id: 'gCF0B2kBR346wHgnb7m0',
index: 'auditbeat-8.0.0-2019.02.19-000001',
type: 'event',
},
parents: [
{
depth: 0,
id: 'UBXOBmkBR346wHgnLP8T',
id: 'gCF0B2kBR346wHgnb7m0',
index: 'auditbeat-8.0.0-2019.02.19-000001',
type: 'event',
},
Expand Down Expand Up @@ -284,7 +281,7 @@ export default ({ getService }: FtrProviderContext) => {
ancestors: [
{
depth: 0,
id: 'UBXOBmkBR346wHgnLP8T',
id: 'gCF0B2kBR346wHgnb7m0',
index: 'auditbeat-8.0.0-2019.02.19-000001',
type: 'event',
},
Expand All @@ -297,7 +294,7 @@ export default ({ getService }: FtrProviderContext) => {
},
{
depth: 0,
id: 'URXOBmkBR346wHgnLP8T',
id: 'CCF0B2kBR346wHgngLtX',
index: 'auditbeat-8.0.0-2019.02.19-000001',
type: 'event',
},
Expand Down

0 comments on commit 3c01bf5

Please sign in to comment.