From f4fdafeb8aefb0274b19af7bf522f1bdc0e46c49 Mon Sep 17 00:00:00 2001 From: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Date: Tue, 12 Nov 2024 19:14:45 +0530 Subject: [PATCH] MINOR: Athena & Tableau E2E fix (#18596) --- ingestion/tests/cli_e2e/dashboard/tableau/tableau.yaml | 2 +- ingestion/tests/cli_e2e/test_cli_athena.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ingestion/tests/cli_e2e/dashboard/tableau/tableau.yaml b/ingestion/tests/cli_e2e/dashboard/tableau/tableau.yaml index 624267c3eb9..0da3db5541d 100644 --- a/ingestion/tests/cli_e2e/dashboard/tableau/tableau.yaml +++ b/ingestion/tests/cli_e2e/dashboard/tableau/tableau.yaml @@ -11,7 +11,7 @@ source: hostPort: $E2E_TABLEAU_HOST_PORT siteName: $E2E_TABLEAU_SITE siteUrl: $E2E_TABLEAU_SITE - apiVersion: "3.22" + apiVersion: "3.24" sourceConfig: config: type: DashboardMetadata diff --git a/ingestion/tests/cli_e2e/test_cli_athena.py b/ingestion/tests/cli_e2e/test_cli_athena.py index e41053e4567..c4a495a7504 100644 --- a/ingestion/tests/cli_e2e/test_cli_athena.py +++ b/ingestion/tests/cli_e2e/test_cli_athena.py @@ -88,7 +88,7 @@ class AthenaCliTest(CliCommonDB.TestSuite): @staticmethod def expected_filtered_schema_includes() -> int: - return 6 + return 8 @staticmethod def expected_filtered_schema_excludes() -> int: @@ -96,15 +96,15 @@ class AthenaCliTest(CliCommonDB.TestSuite): @staticmethod def expected_filtered_table_includes() -> int: - return 8 + return 10 @staticmethod def expected_filtered_table_excludes() -> int: - return 8 + return 10 @staticmethod def expected_filtered_mix() -> int: - return 8 + return 10 def retrieve_lineage(self, entity_fqn: str) -> dict: pass @@ -135,7 +135,7 @@ class AthenaCliTest(CliCommonDB.TestSuite): ) -> None: self.assertEqual(len(source_status.failures), 0) self.assertEqual(len(source_status.warnings), 0) - self.assertEqual(len(source_status.filtered), 6) + self.assertGreaterEqual(len(source_status.filtered), 6) self.assertGreaterEqual( len(source_status.records) + len(source_status.updated_records), self.expected_tables(),