From 8b099860ec77f882b51bbe28ab13c85cdfc378dc Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Wed, 4 Jan 2023 18:35:17 +0530 Subject: [PATCH] fix(ci): managed ingestion test fix (#6946) --- .../tests/managed-ingestion/managed_ingestion_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/smoke-test/tests/managed-ingestion/managed_ingestion_test.py b/smoke-test/tests/managed-ingestion/managed_ingestion_test.py index d80b56b8cfcfb..f172e90469dcf 100644 --- a/smoke-test/tests/managed-ingestion/managed_ingestion_test.py +++ b/smoke-test/tests/managed-ingestion/managed_ingestion_test.py @@ -160,7 +160,7 @@ def _ensure_ingestion_source_present( if num_execs is not None: ingestion_source = res_data["data"]["ingestionSource"] - assert ingestion_source["executions"]["total"] > num_execs + assert ingestion_source["executions"]["total"] == num_execs return res_data @@ -327,7 +327,7 @@ def test_create_list_get_remove_ingestion_source(frontend_session): "name": "My Test Ingestion Source", "type": "mysql", "description": "My ingestion source description", - "schedule": {"interval": "*/5 * * * *", "timezone": "UTC"}, + "schedule": {"interval": "*/60 * * * *", "timezone": "UTC"}, "config": { "recipe": '{"source":{"type":"mysql","config":{"include_tables":true,"database":null,"password":"${MYSQL_PASSWORD}","profiling":{"enabled":false},"host_port":null,"include_views":true,"username":"${MYSQL_USERNAME}"}},"pipeline_name":"urn:li:dataHubIngestionSource:f38bd060-4ea8-459c-8f24-a773286a2927"}', "version": "0.8.18", @@ -389,7 +389,7 @@ def test_create_list_get_remove_ingestion_source(frontend_session): assert ingestion_source["urn"] == ingestion_source_urn assert ingestion_source["type"] == "mysql" assert ingestion_source["name"] == "My Test Ingestion Source" - assert ingestion_source["schedule"]["interval"] == "*/5 * * * *" + assert ingestion_source["schedule"]["interval"] == "*/60 * * * *" assert ingestion_source["schedule"]["timezone"] == "UTC" assert ( ingestion_source["config"]["recipe"]