You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/04/22 12:35:11 UTC

[GitHub] [pulsar] lhotari opened a new pull request, #15275: Fix reflection usage in V1_ProducerConsumerTest#testActiveAndInActiveConsumerEntryCacheBehavior

lhotari opened a new pull request, #15275:
URL: https://github.com/apache/pulsar/pull/15275

   ### Motivation
   
   The test fails in CI. The test is quarantined and this is why it doesn't block CI. The problem should be fixed.
   
   ```
   java.lang.NoSuchFieldException: modifiers
   at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
   at org.apache.pulsar.client.api.v1.V1_ProducerConsumerTest.testActiveAndInActiveConsumerEntryCacheBehavior(V1_ProducerConsumerTest.java:656)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:568)
   at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
   at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
   at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
   at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   at java.base/java.lang.Thread.run(Thread.java:833)
   ```
   
   ### Modifications
   
   - use org.powermock.reflect.Whitebox.getInternalState/setInternalState instead
   - similar change was made in #14128


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] lhotari commented on pull request #15275: Fix reflection usage in V1_ProducerConsumerTest#testActiveAndInActiveConsumerEntryCacheBehavior

Posted by GitBox <gi...@apache.org>.
lhotari commented on PR #15275:
URL: https://github.com/apache/pulsar/pull/15275#issuecomment-1106653995

   /pulsarbot rerun-failure-checks


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] lhotari commented on pull request #15275: Fix reflection usage in V1_ProducerConsumerTest#testActiveAndInActiveConsumerEntryCacheBehavior

Posted by GitBox <gi...@apache.org>.
lhotari commented on PR #15275:
URL: https://github.com/apache/pulsar/pull/15275#issuecomment-1106470822

   @nicoloboschi Please review this. I guess this is JDK17 related.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] eolivelli merged pull request #15275: Fix reflection usage in V1_ProducerConsumerTest#testActiveAndInActiveConsumerEntryCacheBehavior

Posted by GitBox <gi...@apache.org>.
eolivelli merged PR #15275:
URL: https://github.com/apache/pulsar/pull/15275


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org