mirror of https://github.com/apache/lucene.git
SOLR-10227 Fix a test failure.
This commit is contained in:
parent
b66d13398a
commit
5ccc8e7ae9
|
@ -58,8 +58,8 @@ public class SolrMetricManagerTest extends SolrTestCaseJ4 {
|
|||
|
||||
Map<String, Counter> metrics1 = SolrMetricTestUtils.getRandomMetrics(r, true);
|
||||
Map<String, Counter> metrics2 = SolrMetricTestUtils.getRandomMetrics(r, true);
|
||||
String fromName = TestUtil.randomSimpleString(r, 1, 10);
|
||||
String toName = TestUtil.randomSimpleString(r, 1, 10);
|
||||
String fromName = "from-" + TestUtil.randomSimpleString(r, 1, 10);
|
||||
String toName = "to-" + TestUtil.randomSimpleString(r, 1, 10);
|
||||
// register test metrics
|
||||
for (Map.Entry<String, Counter> entry : metrics1.entrySet()) {
|
||||
metricManager.register(fromName, entry.getValue(), false, entry.getKey(), "metrics1");
|
||||
|
|
Loading…
Reference in New Issue