mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
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:
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,
|
||||
|
||||
Reference in new issue
Block a user