All the test is passed in tests-new module now and it contains bellow
packages
org.wso2.carbon.registry.app.test
org.wso2.carbon.registry.subscription.test

Tests run: 213, Failures: 0, Errors: 0, Skipped: 0

Disabled one test class since it leads to make other tests fail. Refer JIRA
[1]

[1] https://wso2.org/jira/browse/REGISTRY-1818

Thanks,
Nuwanw


On Sun, Aug 25, 2013 at 8:28 AM, Nuwan Wimalasekara <[email protected]> wrote:

> Fixed the test execution flow of all the registry tests modules by
> downgrading the testng version and setting parallel test false in pomfiles.
> in next reports we have to investigate the failures to ensure whether it
> is test failure or greg issue.
>
> It is better to have alwaysRun = true in BeforeClass( @BeforeClass(
> alwaysRun = true) ) and AfterClass methods to make sure It is running
> always.
> I added it to some classes.
>
>
> On Thu, Aug 22, 2013 at 5:22 PM, Krishantha Samaraweera <
> [email protected]> wrote:
>
>> Hi Ajith,
>>
>> Can you list down the modules which have this problem
>>
>> Thanks,
>> Krishantha.
>>
>>
>> On Thu, Aug 22, 2013 at 11:20 AM, Ajith Vitharana <[email protected]>wrote:
>>
>>> +1. But we are observing weird behavior in the test framework (may be
>>> TestNG issue)  even with the default pack. The main problem is test
>>> framework load all the test cases in all the packages and execute randomly.
>>> This makes the different results at each time we run all the tests
>>> together.
>>>
>>> Thanks
>>> Ajith.
>>>
>>>
>>> On Thu, Aug 22, 2013 at 11:06 AM, Krishantha Samaraweera <
>>> [email protected]> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I think we can easily run G-Reg integration test with different DB
>>>> configs. We have to get G-Reg pack and edit DB configs, then compress
>>>> it and put it to the correct location and execute tests.
>>>>
>>>> We can generate a pack with all integration tests and point and run
>>>> but, but all test cases depends on the run time configuration changes will
>>>> be skipped, To get the full benefit of automated tests I highly recommend
>>>> to run the tests on the branch.
>>>>
>>>> Thanks,
>>>> Krishantha.
>>>>
>>>
>>>
>>>
>>> --
>>> Ajith Vitharana.
>>> WSO2 Inc. - http://wso2.org
>>> Email  :  [email protected]
>>> Mobile : +94772217350
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to