ChenSammi commented on issue #933: HDDS-1662.Missing test resources of 
integrataion-test project in targ…
URL: https://github.com/apache/hadoop/pull/933#issuecomment-500817336
 
 
   @elek , thanks for the approve. Without reference the 
${basedir}/../../hadoop-hdds/common/src/main/resources, many unit tests will 
pass in IDE, but fail with "mvn test -Dtest=testClass". The root cause is  
Thread.currentThread().getContextClassLoader().getResource("filename").toURI() 
will not return a normal URI  if the specified file is packaged in a jar file. 

----------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to