GFac-core tests are failing due to hard coded pem file paths
------------------------------------------------------------

                 Key: AIRAVATA-72
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-72
             Project: Airavata
          Issue Type: Bug
          Components: GFac
         Environment: mac
            Reporter: Lahiru Gunathilake


Gfac core build fails with this error,


Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.132 sec
Running org.apache.airavata.core.gfac.factory.OGCEGenericFactoryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running 
org.apache.airavata.core.gfac.services.impl.PropertiesBasedServiceImplTest
xregistryUrl=https://ogceportal.iu.teragrid.org:19443/xregistry
hostcertsKeyFile=/home/ptangcha/ogce-workspace/sgfac/target/dist-bin/conf/ogce_services_key.pem
trustedCertificates=[Ljava.security.cert.X509Certificate;@1e9e5c73
xregistryUrl=https://ogceportal.iu.teragrid.org:19443/xregistry
hostcertsKeyFile=/home/ptangcha/ogce-workspace/sgfac/target/dist-bin/conf/ogce_services_key.pem
trustedCertificates=[Ljava.security.cert.X509Certificate;@1e79ed7f
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.19 sec <<< 
FAILURE!
Running org.apache.airavata.core.gfac.type.StringParameterTest
String
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec

Results :

Tests in error: 
  
testInit(org.apache.airavata.core.gfac.services.impl.PropertiesBasedServiceImplTest)
  
testExecute(org.apache.airavata.core.gfac.services.impl.PropertiesBasedServiceImplTest)

Tests run: 9, Failures: 0, Errors: 2, Skipped: 0


We shouldn't have hard code the pem file paths. We can simply put those files 
in to gfac module and refer from relative paths.

Regards
Lahiru

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to