From 8bb48a44275a73187f8330bd2c3ad12e6c8edb61 Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Tue, 28 Jan 2025 11:32:10 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=8A=20Streams=20-=20unskip=20test=20de?= =?UTF-8?q?bug=20(#208150)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes https://github.com/elastic/kibana/issues/206482 Fixes https://github.com/elastic/kibana/issues/206483 I did some tests running the flaky part in a loop and couldn't get it to fail once both locally and on CI. I also reviewed the code and I can't tell how this could be flaky. My guess is that something changed since we skipped this test. Before spending more time on it, let's try to unskip - if it still causes problems we can quickly skip again. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../es/storage/index_adapter/integration_tests/index.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x-pack/solutions/observability/packages/utils_server/es/storage/index_adapter/integration_tests/index.test.ts b/x-pack/solutions/observability/packages/utils_server/es/storage/index_adapter/integration_tests/index.test.ts index 3b94695192684..4574a777a1b6a 100644 --- a/x-pack/solutions/observability/packages/utils_server/es/storage/index_adapter/integration_tests/index.test.ts +++ b/x-pack/solutions/observability/packages/utils_server/es/storage/index_adapter/integration_tests/index.test.ts @@ -182,10 +182,9 @@ describe('StorageIndexAdapter', () => { await verifyClean(); }); - // FLAKY: https://github.com/elastic/kibana/issues/206482 - // FLAKY: https://github.com/elastic/kibana/issues/206483 - describe.skip('after rolling over the index manually and indexing the same document', () => { + describe('after rolling over the index manually and indexing the same document', () => { beforeAll(async () => { + await verifyClean(); await client.index({ id: 'doc1', document: { foo: 'bar' } }); await rolloverIndex(); await client.index({ id: 'doc1', document: { foo: 'bar' } });