From 8ad8001da1c3ba73264901c576767623e1ca35d4 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 16 Jun 2023 09:20:35 +0200 Subject: [PATCH] skip dbt cli e2e (#11999) * skip dbt cli e2e * ran linting --- ingestion/tests/cli_e2e/base/test_cli_dbt.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/ingestion/tests/cli_e2e/base/test_cli_dbt.py b/ingestion/tests/cli_e2e/base/test_cli_dbt.py index a3fe07d256e..e7cf2a535ea 100644 --- a/ingestion/tests/cli_e2e/base/test_cli_dbt.py +++ b/ingestion/tests/cli_e2e/base/test_cli_dbt.py @@ -28,6 +28,9 @@ from .test_cli import CliBase class CliDBTBase(TestCase): + @pytest.mark.skip( + reason="disable while working on https://github.com/open-metadata/OpenMetadata/issues/11895" + ) class TestSuite(TestCase, CliBase): dbt_file_path: str @@ -40,10 +43,7 @@ class CliDBTBase(TestCase): self.assert_for_vanilla_ingestion(source_status, sink_status) # 2. deploy dbt ingestion - # @pytest.mark.order(2) - @pytest.mark.skip( - reason="disabling until we fix the test cases. enable once https://github.com/open-metadata/OpenMetadata/issues/11895 is done" - ) + @pytest.mark.order(2) def test_dbt_ingestion(self) -> None: # run the dbt ingestion result = self.run_command(test_file_path=self.dbt_file_path) @@ -70,10 +70,7 @@ class CliDBTBase(TestCase): self.assertTrue(len(table.tags) > 0) # 4. run tests on dbt test cases and test results - # @pytest.mark.order(4) - @pytest.mark.skip( - reason="disabling until we fix the test cases. enable once https://github.com/open-metadata/OpenMetadata/issues/11895 is done" - ) + @pytest.mark.order(4) def test_dbt_test_cases(self) -> None: test_suite: TestSuite = self.openmetadata.get_by_name( entity=TestSuite, fqn="DBT TEST SUITE"