Skip to content

Commit

Permalink
Update EQL integration tests to reflect new default pipe
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rylnd committed Jan 5, 2021
1 parent 1fb7972 commit 6b3e380
Showing 1 changed file with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,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 @@ -283,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 @@ -296,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 6b3e380

Please sign in to comment.