Skip to content

Commit

Permalink
Add non-existing id for jobs to include on MockInstallationContext.co…
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Jan 8, 2025
1 parent edf2713 commit bef0f12
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,11 @@ def config(self) -> WorkspaceConfig:
renamed_group_prefix=self.renamed_group_prefix,
include_group_names=self.created_groups,
include_databases=self.created_databases,
include_job_ids=self.created_jobs,
# An empty list is not saved in the installation.save below.
# With a dummy id, we signal to skip all jobs.
# A temporary hack to speed up the WorkflowLinter, proper solution follows from issue:
# https://github.com/databrickslabs/blueprint/issues/179
include_job_ids=self.created_jobs or ["non-existing-job"],
include_dashboard_ids=self.created_dashboards,
include_query_ids=self.created_queries,
include_object_permissions=self.created_object_permissions,
Expand Down

0 comments on commit bef0f12

Please sign in to comment.