Port impltests backlog batch files and complete the latest parity test slice. Update tracker/report databases so verified status matches the passing batch evidence.

This commit is contained in:
Joseph Doherty
2026-02-27 12:42:31 -05:00
parent a8c09a271f
commit fe3fd7c74d
37 changed files with 21248 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
namespace ZB.MOM.NatsNet.Server.Tests.ImplBacklog;
internal static class ImpltestsBacklogAssertions
{
public static void SpinWaitUntil(Func<bool> condition, TimeSpan timeout, TimeSpan? poll = null)
{
var deadline = DateTime.UtcNow + timeout;
var interval = poll ?? TimeSpan.FromMilliseconds(10);
while (DateTime.UtcNow < deadline)
{
if (condition())
return;
Thread.Sleep(interval);
}
throw new TimeoutException("Condition was not satisfied within the timeout.");
}
}