Assert the drilldown's no-fan-out path marks no partial round
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful

The empty answer for an unknown value never reaches a backend, so it must
leave /healthz reporting a whole estate.

- assert partial_rounds stays 0 after an unknown-value drilldown
This commit is contained in:
2026-09-06 16:53:11 +10:00
parent abf565b0f6
commit e299f64b07
+4
View File
@@ -364,6 +364,10 @@ func TestHandler_FactsBySourceNameUnknownValueSkipsFanOut(t *testing.T) {
t.Errorf("unknown value reached a backend %d times, want 0", got)
}
}
// No fan-out happened, so none was heard from partially either.
if got := health(t, srv).Query.PartialRounds; got != 0 {
t.Errorf("partial_rounds = %d, want 0", got)
}
}
// The record set is the estate's, not the pinned value's, so every value shares