From 5c1e6b1d338d6d6037ba25113bf1f9a6c418fdd0 Mon Sep 17 00:00:00 2001 From: Fae Charlton Date: Thu, 13 Apr 2023 16:13:00 -0400 Subject: [PATCH 1/2] disable flaky test --- x-pack/metricbeat/module/sql/query/test_sql_oracle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/metricbeat/module/sql/query/test_sql_oracle.py b/x-pack/metricbeat/module/sql/query/test_sql_oracle.py index 5b6642e1d31..c23dba3d40f 100644 --- a/x-pack/metricbeat/module/sql/query/test_sql_oracle.py +++ b/x-pack/metricbeat/module/sql/query/test_sql_oracle.py @@ -9,8 +9,8 @@ class Test(XPackTest): COMPOSE_SERVICES = ['oracle'] + #@unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test") @unittest.skip("Flaky test: https://github.com/elastic/beats/issues/34993") - @unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test") def test_query(self): """ sql oracle custom query test From b8a822c331f9a2a746b1511f86035f085880b527 Mon Sep 17 00:00:00 2001 From: Fae Charlton Date: Thu, 13 Apr 2023 16:27:43 -0400 Subject: [PATCH 2/2] make check --- x-pack/metricbeat/module/sql/query/test_sql_oracle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/metricbeat/module/sql/query/test_sql_oracle.py b/x-pack/metricbeat/module/sql/query/test_sql_oracle.py index c23dba3d40f..b89d2bb4bb3 100644 --- a/x-pack/metricbeat/module/sql/query/test_sql_oracle.py +++ b/x-pack/metricbeat/module/sql/query/test_sql_oracle.py @@ -9,7 +9,7 @@ class Test(XPackTest): COMPOSE_SERVICES = ['oracle'] - #@unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test") + # @unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test") @unittest.skip("Flaky test: https://github.com/elastic/beats/issues/34993") def test_query(self): """