diff --git a/tests/SQLInsight.IntegrationTests/CollectorTests.cs b/tests/SQLInsight.IntegrationTests/CollectorTests.cs index 12198df..0c0a737 100644 --- a/tests/SQLInsight.IntegrationTests/CollectorTests.cs +++ b/tests/SQLInsight.IntegrationTests/CollectorTests.cs @@ -244,7 +244,8 @@ public class CollectorTests(SqlServerFixture sql) await using (var connection = new Microsoft.Data.SqlClient.SqlConnection(sql.DatabaseConnectionString(SqlServerFixture.TestDatabase))) { await connection.OpenAsync(); - for (var i = 0; i < 3; i++) + // Enough executions to rank among the 50 heaviest statements even while the rest of the suite and SQL Agent run. + for (var i = 0; i < 60; i++) { await using var command = connection.CreateCommand(); command.CommandText = """