mirror of https://github.com/prometheus/prometheus
Merge pull request #1111 from prometheus/flaky-tests
Retrieval: Show error message for failed test scrapepull/1112/head
commit
8a40f1b7e3
|
@ -195,7 +195,9 @@ func TestTargetScrapeMetricRelabelConfigs(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
appender := &collectResultAppender{}
|
appender := &collectResultAppender{}
|
||||||
testTarget.scrape(appender)
|
if err := testTarget.scrape(appender); err != nil {
|
||||||
|
t.Fatal(err)
|
||||||
|
}
|
||||||
|
|
||||||
// Remove variables part of result.
|
// Remove variables part of result.
|
||||||
for _, sample := range appender.result {
|
for _, sample := range appender.result {
|
||||||
|
|
Loading…
Reference in New Issue