From e8d94792992c3230fea111795d533f80e130eef8 Mon Sep 17 00:00:00 2001 From: cockroach-teamcity Date: Tue, 2 Jun 2026 12:03:11 +0000 Subject: [PATCH] sql/importer: disable INSPECT validation in TestUniqueUUID to prevent timeout TestUniqueUUID imports 50,000 rows three times. When the metamorphic constant `import-row-count-validation` selects `sync` mode, each import blocks on an INSPECT validation job that takes 4-6 minutes. Three synchronous INSPECT jobs consume ~14 minutes, pushing the test past its 15-minute timeout. Disable INSPECT validation via `bulkio.import.row_count_validation.mode = 'off'` in the test setup, matching the identical fix already applied to TestImportCSVStmt in commit 7c5a50047a3. Resolves: #171332 Epic: none Release note: None Generated by Claude Code Auto-Solver Co-Authored-By: Claude --- pkg/sql/importer/import_stmt_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/sql/importer/import_stmt_test.go b/pkg/sql/importer/import_stmt_test.go index 521982f67219..1557019bbba6 100644 --- a/pkg/sql/importer/import_stmt_test.go +++ b/pkg/sql/importer/import_stmt_test.go @@ -4437,6 +4437,7 @@ func TestUniqueUUID(t *testing.T) { // Disable elastic CPU control to avoid timeout — elastic CPU throttling // can push this test past the 15m timeout. sqlDB.Exec(t, `SET CLUSTER SETTING bulkio.import.elastic_control.enabled = false`) + sqlDB.Exec(t, `SET CLUSTER SETTING bulkio.import.row_count_validation.mode = 'off'`) dataSize := parallelImporterReaderBatchSize * 100