Skip to content

Commit

Permalink
Merge pull request #13279 from AnuGayan/master-latest
Browse files Browse the repository at this point in the history
Change test groups and shuffle tests between 4 groups
  • Loading branch information
npamudika authored Feb 1, 2024
2 parents a0576ec + 946839e commit 07d464f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 45 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
segment: group1
- id: 2
segment: group2
- id: 3
segment: group3
- id: 4
segment: group4
fail-fast: false
steps:
- name: Run hostname
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</test>-->

<test name="apim-integration-tests-api-lifecycle" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group3"/>
<classes>
<class name="org.wso2.am.integration.tests.api.lifecycle.APISecurityTestCase" />
<class name="org.wso2.am.integration.tests.api.lifecycle.AccessibilityOfBlockAPITestCase"/>
Expand Down Expand Up @@ -100,7 +100,7 @@
</test>

<test name="apim-integration-tests-api-lifecycle-2" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.rest.MalformedRequestTest"/>
<class name="org.wso2.am.integration.tests.other.ScriptMediatorTestCase"/>
Expand All @@ -119,7 +119,7 @@
</test>

<test name="apim-email-secondary-userstore-tests" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group3"/>
<classes>
<class name="org.wso2.am.integration.tests.restapi.ContentSearchTestCase"/>
<class name="org.wso2.am.integration.tests.other.PublisherAccessControlTestCase"/>
Expand Down Expand Up @@ -147,7 +147,7 @@
</test>

<test name="apim-CORS-tests" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.header.CORSAccessControlAllowCredentialsHeaderSetup"/>
<class name="org.wso2.am.integration.tests.jwt.FederatedUserJWTTestCase"/>
Expand All @@ -156,7 +156,7 @@
</test>

<test name="apim-integration-tests-samples" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.rest.UriTemplateReservedCharacterEncodingTest"/>
<class name="org.wso2.am.integration.tests.other.APIInvocationFailureTestCase"/>
Expand Down Expand Up @@ -240,7 +240,7 @@
</test>

<test name="apim-store-tests" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group3"/>
<classes>
<class name="org.wso2.am.integration.tests.other.APIM710AllSubscriptionsByApplicationTestCase"/>
<!--<class name="org.wso2.am.integration.tests.other.CopyNewVersionTestCase"/>-->
Expand Down Expand Up @@ -345,7 +345,7 @@
</test>

<test name="apim-integration-tests-without-restarts" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group2"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.other.AdvancedConfigDeploymentConfig"/>
<class name="org.wso2.am.integration.tests.other.NotificationTestCase"/>
Expand All @@ -365,15 +365,15 @@


<test name="apim-integration-tests-application-sharing" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group2"/>
<parameter name="group" value="group1"/>
<classes>
<class name="org.wso2.am.integration.tests.application.groupSharing.ApplicationSharingConfig"/>
<class name="org.wso2.am.integration.tests.application.groupSharing.ApplicationSharingTestCase"/>
</classes>
</test>

<test name="apim-JWT-integration-tests" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group2"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.jwt.JWTTestSuite"/>
<class name="org.wso2.am.integration.tests.jwt.JWTTestCase"/>
Expand All @@ -382,7 +382,7 @@
</test>

<test name="apim-urlsafe-JWT-integration-tests" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group2"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.jwt.urlsafe.UrlSafeJWTTestSuite"/>
<class name="org.wso2.am.integration.tests.jwt.urlsafe.URLSafeJWTTestCase"/>
Expand Down

0 comments on commit 07d464f

Please sign in to comment.