Count short gaps at the edges of the soak window as covered (refs #53)
The scheduler's first jobs finish about a minute after the bot starts, so a run started exactly at the window's start was reported as covering slightly less than 48 hours. A gap shorter than the allowed silence (15 minutes) at either edge now counts as covered, like one in the middle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
be6d5fb91f
commit
1c7205024f
2 files changed
+5
-3
No files matched your search
@@ -54,7 +54,7 @@ public sealed class SoakReportTests
|
||||
var text = report.Markdown(Zones.Rome);
|
||||
Assert.IsTrue(report.Passed, text);
|
||||
Assert.Contains("**Esito: regolare.**", text);
|
||||
Assert.Contains("Durata coperta dal lavoro del bot: 49,0 ore", text);
|
||||
Assert.Contains("Durata coperta dal lavoro del bot: 49 ore", text);
|
||||
Assert.Contains("Al lavoro dall'inizio alla fine della finestra.", text);
|
||||
Assert.Contains("Ogni conto riconciliato fino alla fine e in regola: ", text);
|
||||
Assert.Contains("Decisioni di crypto_trend: 2 su 2 chiusure giornaliere.", text);
|
||||
|
||||
Reference in new issue
Block a user