This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-threads.git


The following commit(s) were added to refs/heads/master by this push:
     new ca1d53c  Removed 1 unnecessary stubbings in 
ThreadPoolMetricsGaugesTest.java (#9)
ca1d53c is described below

commit ca1d53c5763b06833d3e35334a7427d9b332bbe5
Author: ARUS2023 <[email protected]>
AuthorDate: Mon Oct 9 07:50:08 2023 -0500

    Removed 1 unnecessary stubbings in ThreadPoolMetricsGaugesTest.java (#9)
---
 .../apache/sling/commons/threads/impl/ThreadPoolMetricsGaugesTest.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/src/test/java/org/apache/sling/commons/threads/impl/ThreadPoolMetricsGaugesTest.java
 
b/src/test/java/org/apache/sling/commons/threads/impl/ThreadPoolMetricsGaugesTest.java
index 525cd07..bde7043 100644
--- 
a/src/test/java/org/apache/sling/commons/threads/impl/ThreadPoolMetricsGaugesTest.java
+++ 
b/src/test/java/org/apache/sling/commons/threads/impl/ThreadPoolMetricsGaugesTest.java
@@ -88,7 +88,6 @@ public class ThreadPoolMetricsGaugesTest {
         when(bean.getMBeanInfo()).thenReturn(info);
         when(bean.getAttribute(eq(ATTR_A_NAME))).thenReturn(new 
Attributes().getA());
         when(bean.getAttribute(eq(ATTR_B_NAME))).thenReturn(new 
Attributes().getB());
-        when(bean.getAttribute(eq(ATTR_C_NAME))).thenReturn(new 
Attributes().getC());
         when(bean.getAttribute(eq(ATTR_D_NAME)))
                 .thenThrow(new JMRuntimeException("this exception is for unit 
test only"));
 

Reply via email to