feat: add immutable partitioned data publication hub
This commit is contained in:
+3
-2
@@ -149,8 +149,9 @@ public sealed class MTConnectObservationIndexTests
|
||||
var snap = idx.Get("dev1_pos");
|
||||
|
||||
snap.SourceTimestampUtc.ShouldBe(new DateTime(2026, 7, 24, 12, 0, 0, 200, DateTimeKind.Utc));
|
||||
snap.ServerTimestampUtc.ShouldBeGreaterThan(snap.SourceTimestampUtc!.Value);
|
||||
snap.ServerTimestampUtc.Kind.ShouldBe(DateTimeKind.Utc);
|
||||
snap.ServerTimestampUtc.ShouldNotBeNull();
|
||||
snap.ServerTimestampUtc!.Value.ShouldBeGreaterThan(snap.SourceTimestampUtc!.Value);
|
||||
snap.ServerTimestampUtc!.Value.Kind.ShouldBe(DateTimeKind.Utc);
|
||||
}
|
||||
|
||||
/// <summary>A Float64-authored SAMPLE coerces to a real double, not the raw text.</summary>
|
||||
|
||||
+3
-2
@@ -89,8 +89,9 @@ public sealed class OpcUaClientSdkValueBoundaryTests
|
||||
snapshot.Value?.GetType().ShouldBe(expected?.GetType());
|
||||
snapshot.StatusCode.ShouldBe(StatusCodes.UncertainLastUsableValue.Code);
|
||||
snapshot.SourceTimestampUtc.ShouldBeNull();
|
||||
snapshot.ServerTimestampUtc.ShouldBeGreaterThanOrEqualTo(before);
|
||||
snapshot.ServerTimestampUtc.Kind.ShouldBe(DateTimeKind.Utc);
|
||||
snapshot.ServerTimestampUtc.ShouldNotBeNull();
|
||||
snapshot.ServerTimestampUtc!.Value.ShouldBeGreaterThanOrEqualTo(before);
|
||||
snapshot.ServerTimestampUtc!.Value.Kind.ShouldBe(DateTimeKind.Utc);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
|
||||
Reference in New Issue
Block a user