You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-08-11 02:43:02 +03:00
fix-panic-on-shutdown-server added test for const values parsing
This commit is contained in:
committed by
Will Rouesnel
parent
725b163161
commit
734dc50972
@@ -249,6 +249,10 @@ func (s *FunctionalSuite) TestParseConstLabels(c *C) {
|
||||
"a": "b",
|
||||
},
|
||||
},
|
||||
{
|
||||
s: "a=",
|
||||
labels: prometheus.Labels{},
|
||||
},
|
||||
}
|
||||
|
||||
for _, cs := range cases {
|
||||
|
Reference in New Issue
Block a user