test(core): the +Inf bucket is its le label, not its value (#5667)
CI / lint (push) Successful in 2s
CI / integration (push) Successful in 1m11s
CI / unit (push) Successful in 1m27s
CI / publish (push) Successful in 1m6s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 06:58:48 -04:00
co-authored by Claude Opus 5.5
parent 9f26258c8e
commit a9998681f9
+1 -1
View File
@@ -69,7 +69,7 @@ rpc_count 30
assert [s.name for s in fams["req_seconds"].samples] == [
"req_seconds_bucket", "req_seconds_bucket", "req_seconds_sum", "req_seconds_count",
]
assert math.isinf(fams["req_seconds"].samples[1].value)
assert fams["req_seconds"].samples[1].label_dict() == {"le": "+Inf"}
assert [s.name for s in fams["rpc"].samples] == ["rpc", "rpc_sum", "rpc_count"]