Skip to content

Commit 7962f39

Browse files
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 inputs
1 parent 9aaa825 commit 7962f39

File tree

1 file changed

+2
-0
lines changed
  • acceptance/bundle/resources/grants/volumes

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
[[Repls]]
2+
# Normalize Azure storage URL to match AWS format, before METASTORE_NAME replacement.
23
Old = 'abfss://decotestprod-unity-iso@decotestprodunityiso.dfs.core.windows.net'
34
New = 's3://deco-uc-prod-isolated-aws-us-east-1/metastore'
5+
Order = -1

0 commit comments

Comments
 (0)