Skip to content

acc: cap the wait in the vector search index schema test - #6356

Merged
denik merged 1 commit into
mainfrom
denik/schema-norm-cap
Aug 24, 2026
Merged

acc: cap the wait in the vector search index schema test#6356
denik merged 1 commit into
mainfrom
denik/schema-norm-cap

Conversation

@denik

@denik denik commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Changes

Cap the wait in vector_search_indexes/schema_normalization with DATABRICKS_BUNDLE_RESOURCE_MAX_WAIT=30, and move it off CloudSlow so it runs on every PR.

Why

#6352 established that this test should run on cloud: the assertion is that the backend rewrites schema_json into Spark type names, and the test server only mimics that. But inheriting CloudSlow = true left it nightly-only, at 12-18 minutes per env — one of the four slowest tests in the nightly on every cloud, effectively all of it waiting for the index to provision.

Nothing here needs a queryable index, only the created spec and a clean re-plan, so the wait can be capped. 18m24s -> 1m18s on aws linux, verified against a real workspace. The golden did not change, which also confirms the backend's normalized schema still matches what the test server produces.

Tests

testme-env aws-cli on the test directory: passes in 78s.

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 4561487

Run: 32721460584

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 1 4 276 1166 8:25
💚​ aws windows 1 4 278 1164 5:25
💚​ azure linux 1 4 275 1166 9:09
💚​ azure windows 1 4 277 1164 5:40
💚​ gcp linux 1 4 276 1166 9:36
💚​ gcp windows 1 4 278 1164 8:04
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
Top 8 slowest tests (at least 2 minutes):
duration env testname
3:07 aws windows TestAccept
3:04 azure windows TestAccept
3:02 gcp windows TestAccept
2:35 gcp linux TestFilerWorkspaceFilesExtensionsRead
2:25 gcp windows TestAccept/bundle/resources/vector_search_indexes/schema_normalization/DATABRICKS_BUNDLE_ENGINE=direct
2:20 gcp windows TestFilerWorkspaceFilesExtensionsRead
2:12 gcp windows TestFilerWorkspaceFilesExtensionsDelete
2:01 azure linux TestFilerWorkspaceFilesExtensionsReadDir

It reached cloud by accident: Cloud=false was overridden by the inherited
CloudSlow=true, and it cost 12-18 minutes per env there. The assertion is that the
backend rewrites schema_json, which the test server only mimics, so the cloud run is
worth keeping: make it explicit and cap the wait. 18m24s to 1m18s on aws.

Co-authored-by: Isaac
@denik
denik force-pushed the denik/schema-norm-cap branch from bf60698 to 4561487 Compare August 24, 2026 11:20
@denik
denik requested a review from janniklasrose August 24, 2026 12:41
@denik
denik enabled auto-merge August 24, 2026 12:42
@denik
denik added this pull request to the merge queue Aug 24, 2026
Merged via the queue into main with commit 59fc9d6 Aug 24, 2026
25 checks passed
@denik
denik deleted the denik/schema-norm-cap branch August 24, 2026 13:08
denik added a commit that referenced this pull request Aug 24, 2026
The test.toml added in #6356 was generated before RequiresUnityCatalog was
removed, so its out.test.toml still carried the setting.

Co-authored-by: Isaac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants