Skip to content

Commit 38d4f6d

Browse files
committed
Isolate our failing test and add some debugging output
1 parent 4ce9ad0 commit 38d4f6d

File tree

1 file changed

+2
-1
lines changed
  • x-pack/test/security_solution_api_integration/test_suites/detections_response/detection_engine/rule_execution_logic/general_logic/basic_license_essentials_tier

1 file changed

+2
-1
lines changed

x-pack/test/security_solution_api_integration/test_suites/detections_response/detection_engine/rule_execution_logic/general_logic/basic_license_essentials_tier/timestamps.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export default ({ getService }: FtrProviderContext) => {
285285
});
286286

287287
describe('EQL', () => {
288-
it('should generate 2 alerts with @timestamp', async () => {
288+
it.only('should generate 2 alerts with @timestamp', async () => {
289289
const rule: EqlRuleCreateProps = getEqlRuleForAlertTesting(['myfa*']);
290290

291291
const { id } = await createRule(supertest, log, rule);
@@ -300,6 +300,7 @@ export default ({ getService }: FtrProviderContext) => {
300300
const alerts = alertsResponse.hits.hits.map((hit) => hit._source);
301301
const alertsOrderedByEventId = orderBy(alerts, 'alert.parent.id', 'asc');
302302

303+
console.log('alertsOrderedByEventId', JSON.stringify(alertsOrderedByEventId, null, 2));
303304
expect(alertsOrderedByEventId.length).equal(2);
304305
});
305306

0 commit comments

Comments
 (0)