mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-27 05:32:27 -08:00
t.Fatal should be t.Fatalf in the one scrape test
This commit is contained in:
parent
d202718116
commit
66bcb10f40
|
@ -699,7 +699,7 @@ func TestScrapeLoopAppendSampleLimit(t *testing.T) {
|
|||
}
|
||||
value := metric.GetCounter().GetValue()
|
||||
if (value - beforeMetricValue) != 1 {
|
||||
t.Fatal("Unexpected change of sample limit metric: %f", (value - beforeMetricValue))
|
||||
t.Fatalf("Unexpected change of sample limit metric: %f", (value - beforeMetricValue))
|
||||
}
|
||||
|
||||
// And verify that we got the samples that fit under the limit.
|
||||
|
|
Loading…
Reference in a new issue