mirror of
https://github.com/apache/lucene.git
synced 2025-02-10 12:05:36 +00:00
SOLR-13786: AwaitsFix SolrExporterIntegrationTest
(cherry picked from commit 4ec4061cbcd426774b84184c074c24ecf3a1e81b)
This commit is contained in:
parent
b1fc4bb31e
commit
8e2a050800
@ -23,6 +23,7 @@ import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
@org.apache.lucene.util.LuceneTestCase.AwaitsFix(bugUrl="https://issues.apache.org/jira/browse/SOLR-13786")
|
||||
@Slow
|
||||
public class SolrExporterIntegrationTest extends SolrExporterTestBase {
|
||||
|
||||
|
@ -107,7 +107,7 @@ public class SolrExporterTestBase extends PrometheusExporterTestBase {
|
||||
|
||||
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]));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user