From 8c8efd2494967a7dfbf2443f64eea4ec362e95c2 Mon Sep 17 00:00:00 2001 From: Will Assis <35489495+gassiss@users.noreply.github.com> Date: Mon, 12 Jan 2026 16:31:29 -0500 Subject: [PATCH] unified-storage: skip sqlkv/sqlbackend compatibility tests in sqlite (#116164) --- .../testing/storage_backend_sql_compatibility.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkg/storage/unified/testing/storage_backend_sql_compatibility.go b/pkg/storage/unified/testing/storage_backend_sql_compatibility.go index 9066a39221c..5e1423fa1ec 100644 --- a/pkg/storage/unified/testing/storage_backend_sql_compatibility.go +++ b/pkg/storage/unified/testing/storage_backend_sql_compatibility.go @@ -81,6 +81,12 @@ func RunSQLStorageBackendCompatibilityTest(t *testing.T, newSqlBackend, newKvBac kvbackend, db := newKvBackend(t.Context()) sqlbackend, _ := newSqlBackend(t.Context()) + + // Skip on SQLite due to concurrency limitations + if db.DriverName() == "sqlite3" { + t.Skip("Skipping concurrent operations stress test on SQLite") + } + tc.fn(t, sqlbackend, kvbackend, opts.NSPrefix, db) }) } @@ -686,11 +692,6 @@ func runTestCrossBackendConsistency(t *testing.T, sqlBackend, kvBackend resource // runTestConcurrentOperationsStress tests heavy concurrent operations between SQL and KV backends func runTestConcurrentOperationsStress(t *testing.T, sqlBackend, kvBackend resource.StorageBackend, nsPrefix string, db sqldb.DB) { - // Skip on SQLite due to concurrency limitations - if db.DriverName() == "sqlite3" { - t.Skip("Skipping concurrent operations stress test on SQLite") - } - ctx := testutil.NewDefaultTestContext(t) // Create storage servers from both backends