Skip to content

Commit

Permalink
fix(ci): managed ingestion test fix (datahub-project#6946)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal authored and cccs-Dustin committed Feb 1, 2023
1 parent 56726c6 commit 8b09986
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions smoke-test/tests/managed-ingestion/managed_ingestion_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"]
Expand Down

0 comments on commit 8b09986

Please sign in to comment.