From 35d4f1644adaad9a6db179b2e3b4a8957aff993e Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 29 Sep 2026 17:04:18 +0200 Subject: [PATCH] State the flood test budgets and where the enable cost comes from Co-Authored-By: Claude Sonnet 5 --- brokkr-contracts.Tests/BrokkrCommandDrainTests.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/brokkr-contracts.Tests/BrokkrCommandDrainTests.cs b/brokkr-contracts.Tests/BrokkrCommandDrainTests.cs index 61811fd..6136f34 100644 --- a/brokkr-contracts.Tests/BrokkrCommandDrainTests.cs +++ b/brokkr-contracts.Tests/BrokkrCommandDrainTests.cs @@ -9,8 +9,9 @@ namespace Brokkr.Contracts.Tests; public sealed class BrokkrCommandDrainTests { // The budgets the flood scenario holds the editor to. Yggdrasil's containers run several jobs at once, so they - // are generous; the point is that they do not scale with the number of stale intents. - private static readonly TimeSpan EnableBudget = TimeSpan.FromSeconds(10); + // are generous. A tick must not grow with the flood; the enable is one commit whose cost is the store writing + // each expiry receipt (about 3 ms apiece on Yggdrasil), paid once, on the operator's click. + private static readonly TimeSpan EnableBudget = TimeSpan.FromSeconds(20); private static readonly TimeSpan TickBudget = TimeSpan.FromSeconds(3); private readonly ITestOutputHelper output;