From 456148720534f631464afc06edb7f98198fe46c9 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Mon, 24 Aug 2026 11:44:20 +0200 Subject: [PATCH] acc: cap the wait in the vector search index schema test 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 --- .../schema_normalization/out.test.toml | 2 +- .../schema_normalization/test.toml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 acceptance/bundle/resources/vector_search_indexes/schema_normalization/test.toml diff --git a/acceptance/bundle/resources/vector_search_indexes/schema_normalization/out.test.toml b/acceptance/bundle/resources/vector_search_indexes/schema_normalization/out.test.toml index d4ab7a4a156..7f5765d7d4a 100644 --- a/acceptance/bundle/resources/vector_search_indexes/schema_normalization/out.test.toml +++ b/acceptance/bundle/resources/vector_search_indexes/schema_normalization/out.test.toml @@ -1,4 +1,4 @@ Cloud = true -CloudSlow = true +CloudSlow = false RequiresUnityCatalog = true EnvMatrix.DATABRICKS_BUNDLE_ENGINE = ["direct"] diff --git a/acceptance/bundle/resources/vector_search_indexes/schema_normalization/test.toml b/acceptance/bundle/resources/vector_search_indexes/schema_normalization/test.toml new file mode 100644 index 00000000000..645cea708bc --- /dev/null +++ b/acceptance/bundle/resources/vector_search_indexes/schema_normalization/test.toml @@ -0,0 +1,13 @@ +# The assertion here is that the *backend* rewrites schema_json into Spark type names, which +# the test server only mimics, so the cloud run is the one that matters -- see #6352, which +# removed the superfluous Cloud = false. Inheriting CloudSlow = true left it nightly-only at +# 12-18 minutes per env, all of it waiting for the index. Nothing here needs a queryable index, +# only the created spec and a clean re-plan, so cap the wait and run it on every PR instead. +Cloud = true +CloudSlow = false +Env.DATABRICKS_BUNDLE_RESOURCE_MAX_WAIT = "30" + +# The cap makes deploy warn that it stopped waiting; see ../basic/test.toml. +[[Repls]] +Old = 'Warn: [^\n]*Stopped waiting[^\n]*\n' +New = ''