Fixed the test failures.

Thanks,
Janaka

On Tue, Apr 5, 2011 at 11:59 AM, Janaka Ranabahu <[email protected]> wrote:

>
>
> On Tue, Apr 5, 2011 at 11:22 AM, Selvaratnam Uthaiyashankar <
> [email protected]> wrote:
>
>> These tests are succeeding for me.
>>
>> By the way, why are we getting these WSDL from ww2.wso2.org? shouldn't we
>> put this in to the svn? We can't run these tests if we don't have network.
>>
>
> Hi Shankar,
>
> These tests are written using the registry.importResource() and therefore
> moving these files to the svn won't be proper. In these tests we have to
> test the import functionality of G-Reg.
>
> Thanks,
> Janaka
>
>>
>> Shankar
>>
>>
>> On Tue, Apr 5, 2011 at 11:04 AM, WSO2 Builder <[email protected]> wrote:
>>
>>> Retrieving schema at 'purchasing.xsd', relative to '
>>> http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving schema at 'purchasing.xsd', relative to '
>>> http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving schema at 'purchasing.xsd', relative to '
>>> http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.903 sec
>>> <<< FAILURE!
>>> Running org.wso2.carbon.governance.api.test.EndpointTest
>>> log4j:WARN No appenders could be found for logger
>>> (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
>>> log4j:WARN Please initialize the log4j system properly.
>>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving schema at 'purchasing.xsd', relative to '
>>> http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving schema at 'purchasing.xsd', relative to '
>>> http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving schema at 'purchasing.xsd', relative to '
>>> http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving schema at 'purchasing.xsd', relative to '
>>> http://ww2.wso2.org/~prabath/BizService.wsdl'.
>>> Retrieving document at '
>>> http://ww2.wso2.org/~dimuthu/wsdls/MyChangedBizService.wsdl'.
>>> Retrieving schema at 'purchasing.xsd?xsd=1', relative to '
>>> http://ww2.wso2.org/~dimuthu/wsdls/MyChangedBizService.wsdl'.
>>> Retrieving document at '
>>> http://ww2.wso2.org/~dimuthu/wsdls/MyChangedBizService.wsdl'.
>>> Retrieving schema at 'purchasing.xsd?xsd=1', relative to '
>>> http://ww2.wso2.org/~dimuthu/wsdls/MyChangedBizService.wsdl'.
>>> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.67 sec
>>>
>>> Results :
>>>
>>> Tests in error:
>>>
>>> Tests run: 15, Failures: 0, Errors: 1, Skipped: 0
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] There are test failures.
>>>
>>> Please refer to
>>> /home/carbon/carbon/components/governance/org.wso2.carbon.governance.api/target/surefire-reports
>>> for the individual test results.
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 7 minutes 7 seconds
>>> [INFO] Finished at: Tue Apr 05 11:04:42 IST 2011
>>> [INFO] Final Memory: 650M/1315M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>
>>
>>
>> --
>> S.Uthaiyashankar
>> Senior Architect & Senior Manager
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> _______________________________________________
>> Builder mailing list
>> [email protected]
>> https://wso2.org/cgi-bin/mailman/listinfo/builder
>>
>>
>
>
> --
> Janaka Ranabahu
> Software Engineer
> WSO2 Inc.
>
> Mobile +94 718370861
> Email : [email protected]
> Blog : janakaranabahu.blogspot.com
>
>


-- 
Janaka Ranabahu
Software Engineer
WSO2 Inc.

Mobile +94 718370861
Email : [email protected]
Blog : janakaranabahu.blogspot.com
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to