From 8567e97210cfa28c3dbf89467d1ec798a1b4f584 Mon Sep 17 00:00:00 2001 From: restrry Date: Thu, 18 Nov 2021 19:26:42 +0100 Subject: [PATCH] REMOVE ME --- .../fixtures/plugins/alerts/server/plugin.ts | 1 + .../functional_execution_context/tests/log_correlation.ts | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/x-pack/test/functional_execution_context/fixtures/plugins/alerts/server/plugin.ts b/x-pack/test/functional_execution_context/fixtures/plugins/alerts/server/plugin.ts index 03caf2e4e60dc..332938c590ecf 100644 --- a/x-pack/test/functional_execution_context/fixtures/plugins/alerts/server/plugin.ts +++ b/x-pack/test/functional_execution_context/fixtures/plugins/alerts/server/plugin.ts @@ -107,6 +107,7 @@ export class FixturePlugin implements Plugin { it('Emits "trace.id" into the logs', async () => { const response1 = await supertest.get('/emit_log_with_trace_id'); + expect(response1.status).to.be(200); + // eslint-disable-next-line no-console + console.log('>>> response1.body', response1.body); expect(response1.body.traceId).to.be.a('string'); const response2 = await supertest.get('/emit_log_with_trace_id'); + expect(response2.status).to.be(200); + // eslint-disable-next-line no-console + console.log('>>> response2.body', response1.body); expect(response1.body.traceId).to.be.a('string'); expect(response2.body.traceId).not.to.be(response1.body.traceId);