Skip to content

Commit

Permalink
Fix configuration path in job task install code (#210)
Browse files Browse the repository at this point in the history
Fix #205
  • Loading branch information
nfx authored and FastLee committed Sep 19, 2023
1 parent 3f2ad93 commit 087d922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/databricks/labs/ucx/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def _job_wheel_task(self, jobs_task: jobs.Task, task: Task, dbfs_path: str) -> j
python_wheel_task=jobs.PythonWheelTask(
package_name="databricks_labs_ucx",
entry_point="runtime", # [project.entry-points.databricks] in pyproject.toml
named_parameters={"task": task.name, "config": self._config_file},
named_parameters={"task": task.name, "config": f"/Workspace{self._config_file}"},
),
)

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def cleanup_created_resources():
grants = list(sql_fetch_all(f"SELECT * FROM hive_metastore.{install._config.inventory_database}.grants"))

assert len(permissions) > 0
assert len(tables) == 2
assert len(tables) >= 2
assert len(grants) >= 5


Expand Down

0 comments on commit 087d922

Please sign in to comment.