sijie commented on issue #6716: [Issue #6711]: add audience verify in AuthenticationProviderToken URL: https://github.com/apache/pulsar/pull/6716#issuecomment-612778125 @jiazhai there are test failures. ``` at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54) at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [ERROR] testNoBrokerTokenAudience(org.apache.pulsar.broker.authentication.AuthenticationProviderTokenTest) Time elapsed: 0.004 s <<< FAILURE! org.testng.TestException: Expected exception of type class javax.naming.AuthenticationException but got java.lang.IllegalArgumentException: Token Audience Claim [aud] configured, but Audience stands for this broker not. at org.testng.internal.ExpectedExceptionsHolder.wrongException(ExpectedExceptionsHolder.java:68) at org.testng.internal.Invoker.considerExceptions(Invoker.java:1130) at org.testng.internal.Invoker.invokeMethod(Invoker.java:615) at org.testng.internal.Invoker.retryFailed(Invoker.java:839) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1010) ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
