songxiaosheng commented on PR #11461:
URL: https://github.com/apache/dubbo/pull/11461#issuecomment-1418649034

   @Webster-Yang 
   please fix unit test failed
   
   org.apache.dubbo.metrics.filter.MetricsFilterTest
   2023-02-06T06:43:55.2838363Z [ERROR] 
org.apache.dubbo.metrics.filter.MetricsFilterTest.testUnknownFailedRequests  
Time elapsed: 0.776 s  <<< ERROR!
   2023-02-06T06:43:55.2841869Z java.lang.IllegalStateException: Duplicate key 
dubbo.thread.pool.core.size (attempted merging values 
MetricSample{name='dubbo.thread.pool.core.size', description='Thread Pool Core 
Size', baseUnit='null', type=GAUGE, category=THREAD_POOL, 
tags={hostname=fv-az419-804, ip=10.1.0.23, pid=13268, 
application.name=MockMetrics, thread.pool.name=PoolRouterExecutor}} and 
MetricSample{name='dubbo.thread.pool.core.size', description='Thread Pool Core 
Size', baseUnit='null', type=GAUGE, category=THREAD_POOL, 
tags={hostname=fv-az419-804, ip=10.1.0.23, pid=13268, 
application.name=MockMetrics, thread.pool.name=SharedExecutor}})
   2023-02-06T06:43:55.2843624Z         at 
java.base/java.util.stream.Collectors.duplicateKeyException(Collectors.java:135)
   2023-02-06T06:43:55.2844921Z         at 
java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:182)
   2023-02-06T06:43:55.2845647Z         at 
java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
   2023-02-06T06:43:55.2846442Z         at 
java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
   2023-02-06T06:43:55.2847321Z         at 
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
   2023-02-06T06:43:55.2848168Z         at 
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to