[ https://issues.apache.org/jira/browse/ARTEMIS-377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15126002#comment-15126002 ]
ASF GitHub Bot commented on ARTEMIS-377: ---------------------------------------- GitHub user dudaerich opened a pull request: https://github.com/apache/activemq-artemis/pull/363 ARTEMIS-377 - [Artemis Testsuite] NettySecurityClientTest#testProduce… …rConsumerClientWithSecurityManager fails You can merge this pull request into a Git repository by running: $ git pull https://github.com/dudaerich/activemq-artemis ARTEMIS-377 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/363.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #363 ---- commit 8842b9e38a646ea21111fccf2aff77f6b2e87141 Author: Erich Duda <ed...@redhat.com> Date: 2016-02-01T09:27:37Z ARTEMIS-377 - [Artemis Testsuite] NettySecurityClientTest#testProducerConsumerClientWithSecurityManager fails ---- > [Artemis Testsuite] > NettySecurityClientTest#testProducerConsumerClientWithSecurityManager fails > ----------------------------------------------------------------------------------------------- > > Key: ARTEMIS-377 > URL: https://issues.apache.org/jira/browse/ARTEMIS-377 > Project: ActiveMQ Artemis > Issue Type: Bug > Affects Versions: 1.1.0 > Reporter: Erich Duda > > {code} > client VM did not exit cleanly expected:<0> but was:<1> > java.lang.AssertionError: client VM did not exit cleanly expected:<0> but > was:<1> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at > org.apache.activemq.artemis.tests.integration.security.NettySecurityClientTest.doTestProducerConsumerClient(NettySecurityClientTest.java:96) > at > org.apache.activemq.artemis.tests.integration.security.NettySecurityClientTest.testProducerConsumerClientWithSecurityManager(NettySecurityClientTest.java:45) > {code} > The test has two problems: > 1. Method {{URL.getPath()}} encode special characters with {{%}} sign. We > should use {{URLDecoder.decode()}} to decode these characters. > 2. When we run the test with IBM JDK, the additional permission is needed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)