From f54b1132ca6535a40e8a8e184608ac1f91026997 Mon Sep 17 00:00:00 2001 From: pedrocarlo Date: Thu, 9 Oct 2025 01:16:10 -0300 Subject: [PATCH] ignore `Property::AllTableHaveExpectedContent` when counting stats, so we can generate more interesting interactions --- simulator/generation/plan.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/simulator/generation/plan.rs b/simulator/generation/plan.rs index a468e87ec..c8925cd59 100644 --- a/simulator/generation/plan.rs +++ b/simulator/generation/plan.rs @@ -201,6 +201,11 @@ impl InteractionPlan { for interactions in &self.plan { match &interactions.interactions { InteractionsType::Property(property) => { + if matches!(property, Property::AllTableHaveExpectedContent { .. }) { + // Skip Property::AllTableHaveExpectedContent when counting stats + // this allows us to generate more relevant interactions as we count less Select's to the Stats + continue; + } for interaction in &property.interactions(interactions.connection_index) { if let InteractionType::Query(query) = &interaction.interaction { query_stat(query, &mut stats);