Commit ad3a759
nginx: tighten discovery E2E metric assertions from at_least=0 to at_least=1
at_least=0 can never fail — zero metrics always satisfies the condition,
so the test only verified the agent connected, not that discovery rendered
a working instance that actually scrapes metrics. at_least=1 ensures a
regression where discovery connects but emits nothing is caught loudly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a6c9f65 commit ad3a759
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments