Commit 56758c5
INFRA-25589: test fix Content-Type header spec for Prometheus exposition format 0.0.4
Update rack_app_spec to assert the correct `version=0.0.4` parameter
in the Content-Type header. Add dedicated assertion in
metrics_controller_spec since that is where the header is set.
Tighten CHANGELOG entry wording.
Fixes INFRA-25589
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 6004ef8 commit 56758c5
3 files changed
Lines changed: 7 additions & 3 deletions
File tree
- spec/bigcommerce/prometheus/servers/puma
- controllers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments