diff --git a/pkg/sql/conn_executor_test.go b/pkg/sql/conn_executor_test.go index 24b97a84035a..05dce250a1e7 100644 --- a/pkg/sql/conn_executor_test.go +++ b/pkg/sql/conn_executor_test.go @@ -46,6 +46,7 @@ import ( "github.com/cockroachdb/cockroach/pkg/testutils" "github.com/cockroachdb/cockroach/pkg/testutils/pgtest" "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/ctxgroup" "github.com/cockroachdb/cockroach/pkg/util/duration" @@ -1326,6 +1327,8 @@ func TestShowLastQueryStatistics(t *testing.T) { defer leaktest.AfterTest(t)() defer log.Scope(t).Close(t) + skip.UnderRace(t, "measure planning latency which is slower than usual under race") + ctx := context.Background() params := base.TestServerArgs{} s, sqlConn, _ := serverutils.StartServer(t, params)