stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sajith Kariyawasam <saj...@wso2.com>
Subject Re: Why some test cases are excluded from integration tests?
Date Mon, 23 Nov 2015 07:51:02 GMT
On Sun, Nov 22, 2015 at 10:01 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
wrote:

> Hey Akila,
>
> Will verify with Sajith about IaaSProviderTestCase.
>
>
Sorry guys, it was a mistake and not meant as a "failed" test case. Thanks
for fixing it! :)

Btw, found that the new test case added IaasProviderAttributeTest need to
be renamed to IaasProviderAttributeTestCase, adhering to our naming
convention.

Luckily, GroupTerminationBehaviorTestCase is failing at the first time :).
>
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 214.032
> sec <<< FAILURE! - in TestSuite
> testTerminationBehavior(org.apache.stratos.integration.tests.application.GroupTerminationBehaviorTestCase)
> Time elapsed: 168.728 sec  <<< FAILURE!
> java.lang.AssertionError: Cluster status did not change to active:
> [cluster-id]
> group-termination-behavior-test.c3-1x0-group-termination-behavior-test.c3-group-termination-behavior-test.domain
>     at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
>     at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
>     at
> org.apache.stratos.integration.common.TopologyHandler.assertClusterActivation(TopologyHandler.java:305)
>     at
> org.apache.stratos.integration.tests.application.GroupTerminationBehaviorTestCase.testTerminationBehavior(GroupTerminationBehaviorTestCase.java:190)
>
> Thanks.
>
> On Sun, Nov 22, 2015 at 9:43 PM, Akila Ravihansa Perera <
> ravihansa@wso2.com> wrote:
>
>> Hi Raj,
>>
>> IaaSProviderTestCase has been added 2 days ago. I'm not sure why it was
>> marked as disabled. Perhaps the test case was not complete? Better check
>> that before enabling.
>>
>> Also GroupTerminationBehaviorTestCase and PartitionOneAfterAnotherClusterTestCase
>> started failing intermittently. So don't assume that they work just because
>> it passes at the first time :)
>>
>> Thanks.
>>
>> On Sun, Nov 22, 2015 at 9:38 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
>> wrote:
>>
>>> Thanks Akila. I have tested IaaSProviderTestCase and it passed, so I
>>> enabled and pushed the changes to 4.1.x. I will check why
>>> GroupTerminationBehaviorTestCase & PartitionOneAfterAnotherClusterTestCase
>>> are failing.
>>>
>>> Thanks,
>>> Raj.
>>>
>>> On Sun, Nov 22, 2015 at 1:57 PM, Akila Ravihansa Perera <
>>> ravihansa@wso2.com> wrote:
>>>
>>>> Hi Raj,
>>>>
>>>> These test cases were excluded because they were failing due to bugs
>>>> (either in test case or Stratos components) and we didn't have enough time
>>>> to fix those. I think we created JIRAs to track these and fix in a later
>>>> release.
>>>>
>>>> Thanks.
>>>>
>>>> On Sun, Nov 22, 2015 at 12:39 PM, Rajkumar Rajaratnam <
>>>> rajkumarr@wso2.com> wrote:
>>>>
>>>>> Devs,
>>>>>
>>>>> The following test cases is annotated with "failed" group. As "failed"
>>>>> group is excluded in testng.xml, these test cases won't be executed in
>>>>> integration tests.
>>>>>
>>>>> GroupTerminationBehaviorTestCase
>>>>> IaaSProviderTestCase
>>>>> PartitionOneAfterAnotherClusterTestCase
>>>>>
>>>>> Any reason to do this?
>>>>>
>>>>> Thanks,
>>>>> Raj.
>>>>>
>>>>> --
>>>>> Rajkumar Rajaratnam
>>>>> Committer & PMC Member, Apache Stratos
>>>>> Software Engineer, WSO2
>>>>>
>>>>> Mobile : +94777568639
>>>>> Blog : rajkumarr.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Akila Ravihansa Perera
>>>> WSO2 Inc.;  http://wso2.com/
>>>>
>>>> Blog: http://ravihansa3000.blogspot.com
>>>>
>>>
>>>
>>>
>>> --
>>> Rajkumar Rajaratnam
>>> Committer & PMC Member, Apache Stratos
>>> Software Engineer, WSO2
>>>
>>> Mobile : +94777568639
>>> Blog : rajkumarr.com
>>>
>>
>>
>>
>> --
>> Akila Ravihansa Perera
>> WSO2 Inc.;  http://wso2.com/
>>
>> Blog: http://ravihansa3000.blogspot.com
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 
Sajith Kariyawasam
*Committer and PMC member, Apache Stratos, *
*WSO2 Inc.; http://wso2.com <http://wso2.com>*
*Mobile: 0772269575*

Mime
View raw message