Commit 7962f39
authored
Fix grants/volumes test failure on azure-ucws (#4880)
## Changes
Fix
`TestAccept/bundle/resources/grants/volumes/DATABRICKS_BUNDLE_ENGINE=direct`
failing on azure-ucws.
The Azure-to-S3 URL normalization replacement in `volumes/test.toml` and
the `[METASTORE_NAME]` replacement in the root `test.toml` both had
`Order = 0`. Due to stable sort, `METASTORE_NAME` ran first — but on
Azure the storage URL is `abfss://`, not `s3://`, so it found no match.
By the time the Azure URL was normalized to
`s3://deco-uc-prod-isolated-aws-us-east-1/...`, the `METASTORE_NAME`
pass had already completed.
Fix: set `Order = -1` on the Azure URL normalization so it runs before
`METASTORE_NAME`.
## Tests
- Local acceptance tests pass
- Replacement order verified for both Azure and AWS inputs1 parent 9aaa825 commit 7962f39
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
| 5 | + | |
0 commit comments