Files
KArtSell.Aegis/docs/Design/kbx-foundation-v60-status-canonical-contract-hardening/backend/Shared/Integrations/Tests/KbxDurableIntegrationRetryPlannerTests.cs
T
kjh2064 3f293d8aa8
deploy / deploy (push) Successful in 1m52s
deploy / notify (push) Successful in 1s
V13-FE-006: consolidate approved UI and contract hardening
2026-08-13 02:41:00 +09:00

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));
}
}