c41e5063b7
Removed entire kbx-foundation-v36 directory as it's been replaced by the new KBX Foundation v4 patterns implemented in this session: - Registry-driven screen definitions - Density-aware UI adapter components - Feature module templates (ShadowRun, Models) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
15 lines
565 B
C#
15 lines
565 B
C#
using Kbx.Shared.Integrations.Generated;
|
|
using Xunit;
|
|
namespace Kbx.Shared.Integrations.Tests;
|
|
public sealed class KbxDurableIntegrationRetryPlannerTests
|
|
{
|
|
[Fact]
|
|
public void StopsAfterConfiguredDurableAttempts()
|
|
{
|
|
var d = KbxIntegrationCatalog.All["integration.oms.wms.dispatch"];
|
|
var now = new DateTimeOffset(2026,8,8,9,0,0,TimeSpan.Zero);
|
|
Assert.NotNull(KbxDurableIntegrationRetryPlanner.NextAttemptAt(d, 1, now));
|
|
Assert.Null(KbxDurableIntegrationRetryPlanner.NextAttemptAt(d, d.LongRetryAttempts + 1, now));
|
|
}
|
|
}
|