diff --git a/pkg/sql/plan_opt_test.go b/pkg/sql/plan_opt_test.go index dc83c502934d..0261901b2d26 100644 --- a/pkg/sql/plan_opt_test.go +++ b/pkg/sql/plan_opt_test.go @@ -25,6 +25,7 @@ import ( "github.com/cockroachdb/cockroach/pkg/sql/parser" "github.com/cockroachdb/cockroach/pkg/testutils" "github.com/cockroachdb/cockroach/pkg/testutils/serverutils" + "github.com/cockroachdb/cockroach/pkg/testutils/skip" "github.com/cockroachdb/cockroach/pkg/testutils/sqlutils" "github.com/cockroachdb/cockroach/pkg/util/leaktest" "github.com/cockroachdb/cockroach/pkg/util/log" @@ -112,6 +113,8 @@ func TestQueryCache(t *testing.T) { defer leaktest.AfterTest(t)() defer log.Scope(t).Close(t) + skip.WithIssue(t, 105174, "flaky test") + // Grouping the parallel subtests into a non-parallel subtest allows the defer // call above to work as expected. t.Run("group", func(t *testing.T) {