Hi,

I am working on this issue.

Thank you.
Regards,
Malintha.


On Tue, Apr 29, 2014 at 12:26 PM, Sanjeewa Malalgoda <[email protected]>wrote:

> Hi Malintha,
> Please fix this test failures introduced by default api version fixes.
>
> Thanks,
> sanjeewa.
>
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.wso2.carbon.apimgt.impl.dao.test.TestRealmService
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.wso2.carbon.apimgt.impl.dao.test.TestTenantManager
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
> Running org.wso2.carbon.apimgt.impl.dao.test.APIMgtDAOTest
> log4j:WARN No appenders could be found for logger
> (org.apache.axiom.om.util.StAXUtils).
> log4j:WARN Please initialize the log4j system properly.
>
>
> Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.557 sec
> <<< FAILURE!
> Running org.wso2.carbon.apimgt.impl.template.TemplateBuilderTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
> Running org.wso2.carbon.apimgt.impl.token.TokenGenTest
> Generated Token:
> eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0=.eyJpc3MiOiJ3c28yLm9yZy9wcm9kdWN0cy9hbSIsImV4cCI6MTM5ODc1NTI1MzIyMCwiaHR0cDovL3dzbzIub3JnL2NsYWltcy9zdWJzY3JpYmVyIjoic2FzdHJ5IiwiaHR0cDovL3dzbzIub3JnL2NsYWltcy9hcHBsaWNhdGlvbmlkIjoiMSIsImh0dHA6Ly93c28yLm9yZy9jbGFpbXMvYXBwbGljYXRpb25uYW1lIjoiaHViYXBwIiwiaHR0cDovL3dzbzIub3JnL2NsYWltcy9hcHBsaWNhdGlvbnRpZXIiOiJVTkxJTUlURUQiLCJodHRwOi8vd3NvMi5vcmcvY2xhaW1zL2FwaWNvbnRleHQiOiJjcmljU2NvcmUiLCJodHRwOi8vd3NvMi5vcmcvY2xhaW1zL3ZlcnNpb24iOiIxLjkuMCIsImh0dHA6Ly93c28yLm9yZy9jbGFpbXMvdGllciI6Im51bGwiLCJodHRwOi8vd3NvMi5vcmcvY2xhaW1zL2tleXR5cGUiOiJudWxsIiwiaHR0cDovL3dzbzIub3JnL2NsYWltcy91c2VydHlwZSI6Im51bGwiLCJodHRwOi8vd3NvMi5vcmcvY2xhaW1zL2VuZHVzZXIiOiJkZW5pc0BjYXJib24uc3VwZXIiLCJodHRwOi8vd3NvMi5vcmcvY2xhaW1zL2VuZHVzZXJUZW5hbnRJZCI6Ii0xMjM0In0=.
> Header: {"typ":"JWT","alg":"none"}
> Body: {"iss":"wso2.org/products/am","exp":1398755253220,"
> http://wso2.org/claims/subscriber":"sastry",";
> http://wso2.org/claims/applicationid":"1",";
> http://wso2.org/claims/applicationname":"hubapp",";
> http://wso2.org/claims/applicationtier":"UNLIMITED",";
> http://wso2.org/claims/apicontext":"cricScore",";
> http://wso2.org/claims/version":"1.9.0","http://wso2.org/claims/tier
> ":"null","http://wso2.org/claims/keytype":"null",";
> http://wso2.org/claims/usertype":"null","http://wso2.org/claims/enduser
> ":"[email protected]","http://wso2.org/claims/enduserTenantId":"-1234"}
> user name [email protected]
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
>
> Results :
>
> Tests in error:
>
> testValidateApplicationKey(org.wso2.carbon.apimgt.impl.dao.test.APIMgtDAOTest):
> Error while getting default version for API1
>
> Tests run: 18, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 44.691s
> [INFO] Finished at: Tue Apr 29 12:22:33 IST 2014
> [INFO] Final Memory: 97M/414M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
> project org.wso2.carbon.apimgt.impl: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /home/sanjeewa/carbon/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/target/surefire-reports
> for the individual test results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
>
>
> --
>
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +94713068779
>
>  <http://sanjeewamalalgoda.blogspot.com/>blog
> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to