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 bf1891d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,10 @@ 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 skip all jobs. A hack
# to speed up the WorkflowLinter
# 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 bf1891d

Please sign in to comment.