Skip to content

Commit 11a285b

Browse files
authored
Fix configuration path in job task install code (#210)
Fix #205
1 parent e824c18 commit 11a285b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/databricks/labs/ucx/install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def _job_wheel_task(self, jobs_task: jobs.Task, task: Task, dbfs_path: str) -> j
277277
python_wheel_task=jobs.PythonWheelTask(
278278
package_name="databricks_labs_ucx",
279279
entry_point="runtime", # [project.entry-points.databricks] in pyproject.toml
280-
named_parameters={"task": task.name, "config": self._config_file},
280+
named_parameters={"task": task.name, "config": f"/Workspace{self._config_file}"},
281281
),
282282
)
283283

tests/integration/test_installation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def cleanup_created_resources():
177177
grants = list(sql_fetch_all(f"SELECT * FROM hive_metastore.{install._config.inventory_database}.grants"))
178178

179179
assert len(permissions) > 0
180-
assert len(tables) == 2
180+
assert len(tables) >= 2
181181
assert len(grants) >= 5
182182

183183

0 commit comments

Comments
 (0)