Skip to content

Commit

Permalink
Revert query test change
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacqary committed Sep 26, 2023
1 parent f3407f1 commit 645e1e6
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,7 @@ export default ({ getService }: FtrProviderContext) => {
name: 'agent-1',
},
};
// Add a new document, then disable and re-enable to trigger another rule run. The existing docs
// should be marked as untracked, and a new rule run should begin. The second doc of the new run should
// Add a new document, then disable and re-enable to trigger another rule run. The second doc should
// trigger an update to the existing alert without changing the timestamp
await indexListOfDocuments([secondDocument, secondDocument]);
await patchRule(supertest, log, { id: createdRule.id, enabled: false });
Expand Down Expand Up @@ -815,7 +814,7 @@ export default ({ getService }: FtrProviderContext) => {
[ALERT_ORIGINAL_TIME]: firstTimestamp,
[ALERT_SUPPRESSION_START]: firstTimestamp,
[ALERT_SUPPRESSION_END]: secondTimestamp,
[ALERT_SUPPRESSION_DOCS_COUNT]: 5,
[ALERT_SUPPRESSION_DOCS_COUNT]: 3,
});
});

Expand Down

0 comments on commit 645e1e6

Please sign in to comment.