test: the overlap control's target report is fresh

The master test's freshness window is one second; a target report one
second old had already expired, so no report was found at its endpoints.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-11-25 21:03:42 -08:00
1 parent 74ac7294fc
commit cb3f8a1da7
1 file changed
+1 -1
@@ -54,7 +54,7 @@ func TestLineForTheTargetsEndpointsNamesTheTargetsProcess(t *testing.T) {
server, data, ctrl, incarnation string
at time.Time
}{
{"node-d", "127.0.0.1:19401", "127.0.0.1:19402", "r2-target", now.Add(-time.Second)},
{"node-d", "127.0.0.1:19401", "127.0.0.1:19402", "r2-target", now.Add(-50 * time.Millisecond)}, // fresh (window 1s), older than the source's
{"node-b", "127.0.0.1:19201", "127.0.0.1:19202", "r2-source", now},
} {
if err := h.ObservationHost().Ingest(authority.Observation{ServerID: r.server, ObservedAt: r.at,