refactor(historian): one QuestDbTimeClusters helper for writer + updater existence reads; redelivery tombstone test
Claude-Session: https://claude.ai/code/session_01Ef2ozxS7QPanGT8uoATbTe
This commit is contained in:
-10
@@ -249,16 +249,6 @@ public sealed class UpdateTests(QuestDbFixture fx)
|
||||
}
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Cluster_splits_where_the_gap_exceeds_the_limit()
|
||||
{
|
||||
var gap = QuestDbHistorianDataUpdater.ExistenceClusterGap;
|
||||
var c = QuestDbHistorianDataUpdater.Cluster(
|
||||
[T0.AddHours(2), T0, T0.AddSeconds(30), T0.AddHours(1)], gap);
|
||||
c.ShouldBe([(T0, T0.AddSeconds(30)), (T0.AddHours(1), T0.AddHours(1)), (T0.AddHours(2), T0.AddHours(2))]);
|
||||
QuestDbHistorianDataUpdater.Cluster([], gap).ShouldBeEmpty();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Existence_reads_are_bounded_when_request_times_are_far_apart()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user