activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-801) Several tests fail if the project is located on path with special characters
Date Mon, 17 Oct 2016 16:13:58 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15582643#comment-15582643
] 

ASF GitHub Bot commented on ARTEMIS-801:
----------------------------------------

Github user clebertsuconic commented on the issue:

    https://github.com/apache/activemq-artemis/pull/845
  
    do you have an example of such path?
    
    I suggest you also look at artemis-distribution/src/test/scripts/validate-spaces.sh
    
    
    I always run validate-spaces.sh.. I even have a little script on my dev environemnt to
always run it. so maybe we could expand validate-spaces to also validate such thing?


> Several tests fail if the project is located on path with special characters
> ----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-801
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-801
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Erich Duda
>
> If the path to file contains special characters such as '&', the file is not found.
> {code}
> java.nio.file.NoSuchFileException: /mnt/hudson_workspace/workspace/artemis-project-testsuite-matrix-upstream/NATIVES/false/jdk/openjdk1.8_local/label/RHEL6%26%26x86_64/artemis-cli/target/test-classes/broker-reload.xml
> 	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
> 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> 	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
> 	at java.nio.file.Files.newByteChannel(Files.java:361)
> 	at java.nio.file.Files.newByteChannel(Files.java:407)
> 	at java.nio.file.Files.readAllBytes(Files.java:3152)
> 	at org.apache.activemq.cli.test.FileBrokerTest.replacePatternInFile(FileBrokerTest.java:145)
> 	at org.apache.activemq.cli.test.FileBrokerTest.testConfigFileReload(FileBrokerTest.java:137)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message