SOLR-13786: AwaitsFix SolrExporterIntegrationTest

This commit is contained in:
Chris Hostetter 2019-09-23 10:33:08 -07:00
parent d75f027912
commit 4ec4061cbc
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ import org.apache.lucene.util.LuceneTestCase.Slow;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
@org.apache.lucene.util.LuceneTestCase.AwaitsFix(bugUrl="https://issues.apache.org/jira/browse/SOLR-13786")
@Slow @Slow
public class SolrExporterIntegrationTest extends SolrExporterTestBase { public class SolrExporterIntegrationTest extends SolrExporterTestBase {

View File

@ -107,7 +107,7 @@ public class SolrExporterTestBase extends PrometheusExporterTestBase {
String[] parts = currentLine.split(" "); String[] parts = currentLine.split(" ");
assertEquals("Metric must have name and value", 2, parts.length); assertEquals("Metric must have name and value: " + currentLine, 2, parts.length);
metrics.put(parts[0], Double.valueOf(parts[1])); metrics.put(parts[0], Double.valueOf(parts[1]));
} }