From bfe1459545c75db3b21df7fa6bfa4efd21361f30 Mon Sep 17 00:00:00 2001 From: JonPurvis Date: Fri, 16 Oct 2026 09:34:57 +0100 Subject: [PATCH 1/2] fix flaky test --- tests/Feature/DomainPricingEngineTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Feature/DomainPricingEngineTest.php b/tests/Feature/DomainPricingEngineTest.php index d6e44d0..4eac785 100644 --- a/tests/Feature/DomainPricingEngineTest.php +++ b/tests/Feature/DomainPricingEngineTest.php @@ -25,10 +25,11 @@ [$library, $crashes] = fuzzScratchDirs('fuzz-pricing'); expect(function () use ($library, $crashes): void { + // Seed the known crashing payload so CORPUS CRASH is deterministic and persisted. fuzz(PricingEngine::quote(...)) - ->runs(150) + ->runs(10) ->maxLen(32) - ->seed(['100,2', '10,1', '3.5,0.5']) + ->seed(['100,0', '100,2', '10,1', '3.5,0.5']) ->withDictionary([',', '0', '1', '00', '.']) ->libraryDir($library) ->crashDir($crashes) From 2a101999b1c07f3ca18061c79044998fb7ffbca3 Mon Sep 17 00:00:00 2001 From: JonPurvis Date: Fri, 16 Oct 2026 09:35:33 +0100 Subject: [PATCH 2/2] remove useless comment --- tests/Feature/DomainPricingEngineTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/Feature/DomainPricingEngineTest.php b/tests/Feature/DomainPricingEngineTest.php index 4eac785..b4e115b 100644 --- a/tests/Feature/DomainPricingEngineTest.php +++ b/tests/Feature/DomainPricingEngineTest.php @@ -25,7 +25,6 @@ [$library, $crashes] = fuzzScratchDirs('fuzz-pricing'); expect(function () use ($library, $crashes): void { - // Seed the known crashing payload so CORPUS CRASH is deterministic and persisted. fuzz(PricingEngine::quote(...)) ->runs(10) ->maxLen(32)