[
https://jira.jboss.org/jira/browse/DNA-503?page=com.atlassian.jira.plugin...
]
Randall Hauch updated DNA-503:
------------------------------
Attachment: dna-503.patch
I've attached a patch that changes the writable test case to copy the files from
'src/test/resources' into 'target/repositories' (creating the latter), and
then runs the test over the files/directories in the target. Note this is a git patch
(sorry), so you'll need to apply with "$ patch -p1 < dna-503.patch".
Also, there appears to be a potential null-pointer access at line 541 in
FileSystemRequestProcessor, because on line 532 primaryType is allowed to be null, yet
line 541 assumes it is not null.
File system connector unit tests are failing
--------------------------------------------
Key: DNA-503
URL:
https://jira.jboss.org/jira/browse/DNA-503
Project: DNA
Issue Type: Bug
Components: Connectors
Affects Versions: 0.6
Reporter: Randall Hauch
Assignee: Brian Carothers
Fix For: 0.6
Attachments: dna-503.patch
Recent changes to the file system connector have broken the build. It looks like the
tests run fine locally but not on Hudson, making me think the problem may be with file
permissions. These unit tests appear to be modifying the content under the
'src/test/resources' directory, which is generally not a good idea. Instead, the
tests should copy the information over to the 'target' directory, and then operate
the tests from there.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira