Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
gradlew test --tests SolrExporterIntegrationTest.solrExporterDurationMetric -Dtests.seed=2604C3F34A214F5C
This passes for me on Java 11 but fails consistently with Java 17
> java.lang.AssertionError: Metric must have name and value: solr_metrics_jvm_buffers{pool="mapped - 'non-volatile memory'",base_url="http://127.0.0.1:57657/solr",} 0.0 expected:<2> but was:<5> > at __randomizedtesting.SeedInfo.seed([2604C3F34A214F5C:9D01B8BFD4BC7AAF]:0) > at org.junit.Assert.fail(Assert.java:89) > at org.junit.Assert.failNotEquals(Assert.java:835) > at org.junit.Assert.assertEquals(Assert.java:647) > at org.apache.solr.prometheus.exporter.SolrExporterTestBase.getAllMetrics(SolrExporterTestBase.java:110) > at org.apache.solr.prometheus.exporter.SolrExporterTestBase.startMetricsExporterWithConfiguration(SolrExporterTestBase.java:79) > at org.apache.solr.prometheus.exporter.SolrExporterIntegrationTest.setUp(SolrExporterIntegrationTest.java:34)
Looks like some of the formatting changed between internals?
Attachments
Issue Links
- duplicates
-
SOLR-13786 prometheus: SolrExporterIntegrationTest various jenkins failures
- Resolved
- is caused by
-
SOLR-15572 Improve the default Prometheus exporter config performance
- Closed
- links to