mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-12 09:18:20 +00:00
MINOR: Fix e2e tests (#15829)
* Update values * Update values * Fix checkstyle
This commit is contained in:
parent
c3c5a81b55
commit
c909ff8857
@ -70,10 +70,10 @@ class MetabaseCliTest(CliCommonDashboard.TestSuite):
|
||||
return 0
|
||||
|
||||
def expected_filtered_mix(self) -> int:
|
||||
return 3
|
||||
return 4
|
||||
|
||||
def expected_filtered_sink_mix(self) -> int:
|
||||
return 6
|
||||
return 7
|
||||
|
||||
def expected_dashboards_and_charts_after_patch(self) -> int:
|
||||
return 0
|
||||
|
@ -124,15 +124,15 @@ SELECT * from names
|
||||
|
||||
@staticmethod
|
||||
def expected_filtered_table_includes() -> int:
|
||||
return 42
|
||||
return 43
|
||||
|
||||
@staticmethod
|
||||
def expected_filtered_table_excludes() -> int:
|
||||
return 28
|
||||
return 29
|
||||
|
||||
@staticmethod
|
||||
def expected_filtered_mix() -> int:
|
||||
return 42
|
||||
return 43
|
||||
|
||||
def test_create_table_with_profiler(self) -> None:
|
||||
# delete table in case it exists
|
||||
@ -251,16 +251,16 @@ SELECT * from names
|
||||
def assert_for_vanilla_ingestion(
|
||||
self, source_status: Status, sink_status: Status
|
||||
) -> None:
|
||||
self.assertTrue(len(source_status.failures) == 0)
|
||||
self.assertTrue(len(source_status.warnings) == 0)
|
||||
self.assertTrue(len(source_status.filtered) == 28)
|
||||
self.assertTrue(
|
||||
(len(source_status.records) + len(source_status.updated_records))
|
||||
>= self.expected_tables()
|
||||
self.assertEqual(len(source_status.failures), 0)
|
||||
self.assertEqual(len(source_status.warnings), 0)
|
||||
self.assertEqual(len(source_status.filtered), 29)
|
||||
self.assertGreaterEqual(
|
||||
(len(source_status.records) + len(source_status.updated_records)),
|
||||
self.expected_tables(),
|
||||
)
|
||||
self.assertTrue(len(sink_status.failures) == 0)
|
||||
self.assertTrue(len(sink_status.warnings) == 0)
|
||||
self.assertTrue(
|
||||
(len(sink_status.records) + len(sink_status.updated_records))
|
||||
> self.expected_tables()
|
||||
self.assertEqual(len(sink_status.failures), 0)
|
||||
self.assertEqual(len(sink_status.warnings), 0)
|
||||
self.assertGreater(
|
||||
(len(sink_status.records) + len(sink_status.updated_records)),
|
||||
self.expected_tables(),
|
||||
)
|
||||
|
@ -71,7 +71,7 @@ class TableauCliTest(CliCommonDashboard.TestSuite):
|
||||
return 2
|
||||
|
||||
def expected_filtered_sink_mix(self) -> int:
|
||||
return 9
|
||||
return 10
|
||||
|
||||
def expected_dashboards_and_charts_after_patch(self) -> int:
|
||||
return 2
|
||||
return 4
|
||||
|
Loading…
x
Reference in New Issue
Block a user