Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): managed ingestion test fix #6946

Merged
merged 3 commits into from
Jan 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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