mirror of https://github.com/apache/lucene.git
SOLR-13786: AwaitsFix SolrExporterIntegrationTest
This commit is contained in:
parent
d75f027912
commit
4ec4061cbc
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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]));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue