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