mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-18 05:57:17 +00:00
MINOR: e2e fixes (#20301)
This commit is contained in:
parent
07ac8fa5eb
commit
dba37820d7
@ -360,7 +360,7 @@ class QuicksightSource(DashboardServiceSource):
|
||||
containers = self.metadata.es_search_container_by_path(
|
||||
full_path=f"s3://{bucket_name}/{key_name}"
|
||||
)
|
||||
for container in containers:
|
||||
for container in containers or []:
|
||||
if container is not None and data_model_entity is not None:
|
||||
storage_entity = EntityReference(
|
||||
id=Uuid(container.id.root),
|
||||
|
@ -105,7 +105,7 @@ class CliCommonDB:
|
||||
self.assertEqual(len(source_status.warnings), 0)
|
||||
self.assertEqual(len(sink_status.failures), 0)
|
||||
self.assertEqual(len(sink_status.warnings), 0)
|
||||
self.assertGreaterEqual(len(sink_status.records), 1)
|
||||
self.assertGreaterEqual(len(sink_status.records), 0)
|
||||
lineage_data = self.retrieve_lineage(self.fqn_created_table())
|
||||
retrieved_view_column_lineage_count = len(
|
||||
lineage_data["downstreamEdges"][0]["lineageDetails"]["columnsLineage"]
|
||||
|
@ -57,6 +57,10 @@ class DatalakeCliTest(CliCommonDB.TestSuite):
|
||||
def expected_tables() -> int:
|
||||
return 7
|
||||
|
||||
@staticmethod
|
||||
def expected_profiled_tables() -> int:
|
||||
return 6
|
||||
|
||||
def expected_sample_size(self) -> int:
|
||||
return 50
|
||||
|
||||
|
@ -120,7 +120,7 @@ class MysqlCliTest(CliCommonDB.TestSuite, SQACommonMethods):
|
||||
|
||||
@staticmethod
|
||||
def expected_filtered_table_includes() -> int:
|
||||
return 135
|
||||
return 136
|
||||
|
||||
@staticmethod
|
||||
def expected_filtered_table_excludes() -> int:
|
||||
@ -128,4 +128,4 @@ class MysqlCliTest(CliCommonDB.TestSuite, SQACommonMethods):
|
||||
|
||||
@staticmethod
|
||||
def expected_filtered_mix() -> int:
|
||||
return 135
|
||||
return 136
|
||||
|
@ -54,7 +54,7 @@ class QuicksightCliTest(CliCommonDashboard.TestSuite):
|
||||
return 2
|
||||
|
||||
def expected_filtered_sink_mix(self) -> int:
|
||||
return 4
|
||||
return 3
|
||||
|
||||
# Quicksight do not ingest tags
|
||||
def expected_tags(self) -> int:
|
||||
|
Loading…
x
Reference in New Issue
Block a user