Merge pull request #1111 from prometheus/flaky-tests

Retrieval: Show error message for failed test scrape
This commit is contained in:
Fabian Reinartz 2015-09-23 10:57:11 +02:00
commit 8a40f1b7e3
1 changed files with 3 additions and 1 deletions

View File

@ -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 {