diff --git a/pkg/sql/sqlstats/insights/integration/insights_test.go b/pkg/sql/sqlstats/insights/integration/insights_test.go index 7a9b954b8c0e..991e3b441ca0 100644 --- a/pkg/sql/sqlstats/insights/integration/insights_test.go +++ b/pkg/sql/sqlstats/insights/integration/insights_test.go @@ -523,7 +523,7 @@ func TestInsightsIntegrationForContention(t *testing.T) { require.NoError(t, err) // Enable detection by setting a latencyThreshold > 0. - latencyThreshold := 100 * time.Millisecond + latencyThreshold := 30 * time.Millisecond insights.LatencyThreshold.Override(ctx, &settings.SV, latencyThreshold) // Create a new connection, and then in a go routine have it start a transaction, update a row,